remove from a shape, the internal edges that are not connected to any face in the shape. We can get the list of the edges as a DataMapOfShapeListOfShape with a Face of the Shape as the key and a list of internal edges as the value. The list of internal edges means edges that are not connected to any face in the shape.
More...
#include <TopOpeBRepTool_PurgeInternalEdges.hxx>
remove from a shape, the internal edges that are not connected to any face in the shape. We can get the list of the edges as a DataMapOfShapeListOfShape with a Face of the Shape as the key and a list of internal edges as the value. The list of internal edges means edges that are not connected to any face in the shape.
Example of use : TopTools_DataMapOfShapeListOfShape mymap; TopOpeBRepTool_PurgeInternalEdges mypurgealgo(mysolid); mypurgealgo.GetFaces(mymap);
◆ TopOpeBRepTool_PurgeInternalEdges()
Initialize members and begin exploration of shape depending of the value of PerformNow.
◆ Faces()
returns the list internal edges associated with the faces of the myShape. If PerformNow was False when created, then call the private Perform method that do the main job.
◆ IsDone()
returns False if the list of internal edges has not been extracted
◆ NbEdges()
returns the number of edges candidate to be removed
◆ Perform()
void TopOpeBRepTool_PurgeInternalEdges::Perform |
( |
| ) |
|
Using the list of internal edge from each face, rebuild myShape by removing thoses edges.
◆ Shape()
returns myShape modified with the list of internal edges removed from it.
◆ myMapEdgLstFac
The documentation for this class was generated from the following file: