Open CASCADE Technology
7.7.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 <BRepLib_FuseEdges.hxx>
Public Member Functions | |
BRepLib_FuseEdges (const TopoDS_Shape &theShape, const Standard_Boolean PerformNow=Standard_False) | |
Initialise members and build construction of map of ancestors. More... | |
void | AvoidEdges (const TopTools_IndexedMapOfShape &theMapEdg) |
set edges to avoid being fused More... | |
void | SetConcatBSpl (const Standard_Boolean theConcatBSpl=Standard_True) |
set mode to enable concatenation G1 BSpline edges in one End Modified by IFV 19.04.07 More... | |
void | Edges (TopTools_DataMapOfIntegerListOfShape &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. More... | |
void | ResultEdges (TopTools_DataMapOfIntegerShape &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) More... | |
void | Faces (TopTools_DataMapOfShapeShape &theMapFac) |
returns the map of modified faces. More... | |
TopoDS_Shape & | Shape () |
returns myShape modified with the list of internal edges removed from it. More... | |
Standard_Integer | NbVertices () |
returns the number of vertices candidate to be removed More... | |
void | Perform () |
Using map of list of connex edges, fuse each list to one edge and then update myShape. More... | |
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 :
BRepLib_FuseEdges::BRepLib_FuseEdges | ( | const TopoDS_Shape & | theShape, |
const Standard_Boolean | PerformNow = Standard_False |
||
) |
Initialise members and build construction of map of ancestors.
void BRepLib_FuseEdges::AvoidEdges | ( | const TopTools_IndexedMapOfShape & | theMapEdg | ) |
set edges to avoid being fused
void BRepLib_FuseEdges::Edges | ( | TopTools_DataMapOfIntegerListOfShape & | 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 BRepLib_FuseEdges::Faces | ( | TopTools_DataMapOfShapeShape & | theMapFac | ) |
returns the map of modified faces.
Standard_Integer BRepLib_FuseEdges::NbVertices | ( | ) |
returns the number of vertices candidate to be removed
void BRepLib_FuseEdges::Perform | ( | ) |
Using map of list of connex edges, fuse each list to one edge and then update myShape.
void BRepLib_FuseEdges::ResultEdges | ( | TopTools_DataMapOfIntegerShape & | 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 BRepLib_FuseEdges::SetConcatBSpl | ( | const Standard_Boolean | theConcatBSpl = Standard_True | ) |
set mode to enable concatenation G1 BSpline edges in one End Modified by IFV 19.04.07
TopoDS_Shape& BRepLib_FuseEdges::Shape | ( | ) |
returns myShape modified with the list of internal edges removed from it.