Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hello, guys
I wanna ask whether there is any functions to get the handle of the inner loop on a surface, and if I got the handle of the loop(edges),
can I directly know or use other functions to get the the handles of two surfaces next to the edge ?
And further more, do you guys have any ideas on how to distinguish btwn convex & concave in 3D model ?
Thanks!
Solved! Go to Solution.
I think I found the solution to this,
firstly, use func ProSurfaceDataGet() to get surface data,
then inside of the data "->data.p_surface_data->contour_arr[n]",
and n is the index number of contour this surface contains.
Then when "->data.p_surface_data->contour_arr[n].trav == PRO_CONTOUR_TRAV_INTERNAL"
you'll get the IDs array of the edges from that internal contour by "->data.p_surface_data->contour_arr[n].edge_id_arr"
Anyone has any ideas ?
look at testgeom.c in pt_examples. ProContour related functionality.
Hello, @FV
I don't know what testgeom.c is, am kind of new here.
But, I actually checked ProContour related functionality in TKUSE.pdf,
And what i got is ProSurfaceDataGet() which u can know whether this surface contains any inner loops or not,
and edge_id_arr, but what I want is the edge Identifiers of inner contours instead of all.
I think I found the solution to this,
firstly, use func ProSurfaceDataGet() to get surface data,
then inside of the data "->data.p_surface_data->contour_arr[n]",
and n is the index number of contour this surface contains.
Then when "->data.p_surface_data->contour_arr[n].trav == PRO_CONTOUR_TRAV_INTERNAL"
you'll get the IDs array of the edges from that internal contour by "->data.p_surface_data->contour_arr[n].edge_id_arr"