|
Open CASCADE Technology 6.5.2
|
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);
#include <TopOpeBRepTool_PurgeInternalEdges.hxx>
Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| TopOpeBRepTool_PurgeInternalEdges (const TopoDS_Shape &theShape, const Standard_Boolean PerformNow=Standard_True) | |
| Initialize members and begin exploration of shape depending of the value of PerformNow | |
| void | Faces (TopTools_DataMapOfShapeListOfShape &theMapFacLstEdg) |
| 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. | |
| TopoDS_Shape & | Shape () |
| returns myShape modified with the list of internal edges removed from it. | |
| const Standard_Integer | NbEdges () const |
| returns the number of edges candidate to be removed | |
| Standard_Boolean | IsDone () const |
| returns False if the list of internal edges has not been extracted | |
| void | Perform () |
| Using the list of internal edge from each face, rebuild myShape by removing thoses edges. | |
Protected Attributes | |
| TopTools_IndexedDataMapOfShapeListOfShape | myMapEdgLstFac |
| TopOpeBRepTool_PurgeInternalEdges::TopOpeBRepTool_PurgeInternalEdges | ( | const TopoDS_Shape & | theShape, |
| const Standard_Boolean | PerformNow = Standard_True |
||
| ) |
| void TopOpeBRepTool_PurgeInternalEdges::Faces | ( | TopTools_DataMapOfShapeListOfShape & | theMapFacLstEdg | ) |
| Standard_Boolean TopOpeBRepTool_PurgeInternalEdges::IsDone | ( | ) | const |
| const Standard_Integer TopOpeBRepTool_PurgeInternalEdges::NbEdges | ( | ) | const |
| void TopOpeBRepTool_PurgeInternalEdges::operator delete | ( | void * | anAddress | ) | [inline] |
| void* TopOpeBRepTool_PurgeInternalEdges::operator new | ( | size_t | size | ) | [inline] |
| void* TopOpeBRepTool_PurgeInternalEdges::operator new | ( | size_t | , |
| void * | anAddress | ||
| ) | [inline] |
| void TopOpeBRepTool_PurgeInternalEdges::Perform | ( | ) |
| TopoDS_Shape& TopOpeBRepTool_PurgeInternalEdges::Shape | ( | ) |
TopTools_IndexedDataMapOfShapeListOfShape TopOpeBRepTool_PurgeInternalEdges::myMapEdgLstFac [protected] |
1.7.4