ataeft Wed, 07/20/2011 - 23:58 Forums: Other usage issuesHow do I find faces attached to an edge in Opencascade? Gabriel Bauer Thu, 07/21/2011 - 18:25 I'm assuming that you have an edge and want to get all the faces that this edge belongs. So you can use the method TopExp::MapShapesAndAncestors. After you need to find your edge in the map, its bind with a list of faces. Regards. Log in to post comments ataeft Thu, 07/21/2011 - 21:50 Thank you very much, do you also know how if there is any method to see if an edge (of a polyhedron) is concave or convex? I know there is a convex() method in TopoDS_Edge but it is not working correctly! Log in to post comments
Thu, 07/21/2011 - 18:25
I'm assuming that you have an edge and want to get all the faces that this edge belongs.
So you can use the method TopExp::MapShapesAndAncestors.
After you need to find your edge in the map, its bind with a list of faces.
Regards.
Thu, 07/21/2011 - 21:50
Thank you very much, do you also know how if there is any method to see if an edge (of a polyhedron) is concave or convex? I know there is a convex() method in TopoDS_Edge but it is not working correctly!