Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
TopOpeBRepTool_FuseEdges Class Reference

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 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 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 <br>
      the   map  corresponds  to  the  integer   in the <br>
      DataMapOfIntegerListOfShape  we    get in  method <br>
     Edges.   That is to say, to  the list  of edges in <br>
     theMapLstEdg(i) corresponds the resulting edge theMapEdge(i) <br>


More...

 
void Faces (TopTools_DataMapOfShapeShape &theMapFac)
 returns the map of modified faces.
More...
 
TopoDS_ShapeShape ()
 returns myShape modified with the list of internal
edges removed from it.
More...
 
const 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...
 

Detailed Description

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 :

Constructor & Destructor Documentation

TopOpeBRepTool_FuseEdges::TopOpeBRepTool_FuseEdges ( const TopoDS_Shape theShape,
const Standard_Boolean  PerformNow = Standard_False 
)

Initialise members and build construction of map
of ancestors.

Member Function Documentation

void TopOpeBRepTool_FuseEdges::AvoidEdges ( const TopTools_IndexedMapOfShape theMapEdg)

set edges to avoid being fused

void TopOpeBRepTool_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 TopOpeBRepTool_FuseEdges::Faces ( TopTools_DataMapOfShapeShape theMapFac)

returns the map of modified faces.

const Standard_Integer 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 ( TopTools_DataMapOfIntegerShape theMapEdg)

 returns all the fused edges. each integer entry in <br>
      the   map  corresponds  to  the  integer   in the <br>
      DataMapOfIntegerListOfShape  we    get in  method <br>
     Edges.   That is to say, to  the list  of edges in <br>
     theMapLstEdg(i) corresponds the resulting edge theMapEdge(i) <br>


TopoDS_Shape& TopOpeBRepTool_FuseEdges::Shape ( )

returns myShape modified with the list of internal
edges removed from it.


The documentation for this class was generated from the following file: