![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
This class can detect vertices in a face that can be considered useless and then perform the fuse of the edges and remove the useless vertices. By useles vertices, we mean: More...
#include <TopOpeBRepTool_FuseEdges.hxx>
Public Member Functions | |
| TopOpeBRepTool_FuseEdges (const TopoDS_Shape &theShape, const bool PerformNow=false) | |
| Initialise members and build construction of map of ancestors. | |
| void | AvoidEdges (const NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > &theMapEdg) |
| set edges to avoid being fused | |
| void | Edges (NCollection_DataMap< int, NCollection_List< TopoDS_Shape > > &theMapLstEdg) |
| returns all the list of edges to be fused each list of the map represent a set of connex edges that can be fused. | |
| void | ResultEdges (NCollection_DataMap< int, TopoDS_Shape > &theMapEdg) |
| returns all the fused edges. each integer entry in the map corresponds to the integer in the DataMapOfIntegerListOfShape we get in method Edges. That is to say, to the list of edges in theMapLstEdg(i) corresponds the resulting edge theMapEdge(i) | |
| void | Faces (NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &theMapFac) |
| returns the map of modified faces. | |
| TopoDS_Shape & | Shape () |
| returns myShape modified with the list of internal edges removed from it. | |
| int | NbVertices () |
| returns the number of vertices candidate to be removed | |
| void | Perform () |
| Using map of list of connex edges, fuse each list to one edge and then update myShape. | |
This class can detect vertices in a face that can be considered useless and then perform the fuse of the edges and remove the useless vertices. By useles vertices, we mean:
| TopOpeBRepTool_FuseEdges::TopOpeBRepTool_FuseEdges | ( | const TopoDS_Shape & | theShape, |
| const bool | PerformNow = false ) |
Initialise members and build construction of map of ancestors.
| void TopOpeBRepTool_FuseEdges::AvoidEdges | ( | const NCollection_IndexedMap< TopoDS_Shape, TopTools_ShapeMapHasher > & | theMapEdg | ) |
set edges to avoid being fused
| void TopOpeBRepTool_FuseEdges::Edges | ( | NCollection_DataMap< int, NCollection_List< TopoDS_Shape > > & | theMapLstEdg | ) |
returns all the list of edges to be fused each list of the map represent a set of connex edges that can be fused.
| void TopOpeBRepTool_FuseEdges::Faces | ( | NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & | theMapFac | ) |
returns the map of modified faces.
| int TopOpeBRepTool_FuseEdges::NbVertices | ( | ) |
returns the number of vertices candidate to be removed
| void TopOpeBRepTool_FuseEdges::Perform | ( | ) |
Using map of list of connex edges, fuse each list to one edge and then update myShape.
| void TopOpeBRepTool_FuseEdges::ResultEdges | ( | NCollection_DataMap< int, TopoDS_Shape > & | theMapEdg | ) |
returns all the fused edges. each integer entry in the map corresponds to the integer in the DataMapOfIntegerListOfShape we get in method Edges. That is to say, to the list of edges in theMapLstEdg(i) corresponds the resulting edge theMapEdge(i)
| TopoDS_Shape & TopOpeBRepTool_FuseEdges::Shape | ( | ) |
returns myShape modified with the list of internal edges removed from it.