Open CASCADE Technology 7.8.0
Public Member Functions
TopOpeBRepBuild_FaceBuilder Class Reference

#include <TopOpeBRepBuild_FaceBuilder.hxx>

Public Member Functions

 TopOpeBRepBuild_FaceBuilder ()
 
 TopOpeBRepBuild_FaceBuilder (TopOpeBRepBuild_WireEdgeSet &ES, const TopoDS_Shape &F, const Standard_Boolean ForceClass=Standard_False)
 Create a FaceBuilder to build the faces on the shapes (wires, blocks of edge) described by <LS>.
 
void InitFaceBuilder (TopOpeBRepBuild_WireEdgeSet &ES, const TopoDS_Shape &F, const Standard_Boolean ForceClass)
 
void DetectUnclosedWire (TopTools_IndexedDataMapOfShapeShape &mapVVsameG, TopTools_IndexedDataMapOfShapeShape &mapVon1Edge)
 Removes are non 3d-closed wires. Fills up maps <mapVVsameG> and <mapVon1Edge>, in order to correct 3d-closed but unclosed (topologic connexity) wires. modifies myBlockBuilder.
 
void CorrectGclosedWire (const TopTools_IndexedDataMapOfShapeShape &mapVVref, const TopTools_IndexedDataMapOfShapeShape &mapVon1Edge)
 Using the given maps, change the topology of the 3d-closed wires, in order to get closed wires.
 
void DetectPseudoInternalEdge (TopTools_IndexedMapOfShape &mapE)
 Removes edges appearing twice (FORWARD,REVERSED) with a bounding vertex not connected to any other edge. mapE contains edges found. modifies myBlockBuilder.
 
const TopoDS_ShapeFace () const
 return myFace
 
Standard_Integer InitFace ()
 
Standard_Boolean MoreFace () const
 
void NextFace ()
 
Standard_Integer InitWire ()
 
Standard_Boolean MoreWire () const
 
void NextWire ()
 
Standard_Boolean IsOldWire () const
 
const TopoDS_ShapeOldWire () const
 Returns current wire This wire may be :
 
void FindNextValidElement ()
 Iterates on myBlockIterator until finding a valid element.
 
Standard_Integer InitEdge ()
 
Standard_Boolean MoreEdge () const
 
void NextEdge ()
 
const TopoDS_ShapeEdge () const
 Returns current new edge of current new wire.
 
Standard_Integer EdgeConnexity (const TopoDS_Shape &E) const
 
Standard_Integer AddEdgeWire (const TopoDS_Shape &E, TopoDS_Shape &W) const
 

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_FaceBuilder() [1/2]

TopOpeBRepBuild_FaceBuilder::TopOpeBRepBuild_FaceBuilder ( )

◆ TopOpeBRepBuild_FaceBuilder() [2/2]

TopOpeBRepBuild_FaceBuilder::TopOpeBRepBuild_FaceBuilder ( TopOpeBRepBuild_WireEdgeSet ES,
const TopoDS_Shape F,
const Standard_Boolean  ForceClass = Standard_False 
)

Create a FaceBuilder to build the faces on the shapes (wires, blocks of edge) described by <LS>.

Member Function Documentation

◆ AddEdgeWire()

Standard_Integer TopOpeBRepBuild_FaceBuilder::AddEdgeWire ( const TopoDS_Shape E,
TopoDS_Shape W 
) const

◆ CorrectGclosedWire()

void TopOpeBRepBuild_FaceBuilder::CorrectGclosedWire ( const TopTools_IndexedDataMapOfShapeShape mapVVref,
const TopTools_IndexedDataMapOfShapeShape mapVon1Edge 
)

Using the given maps, change the topology of the 3d-closed wires, in order to get closed wires.

◆ DetectPseudoInternalEdge()

void TopOpeBRepBuild_FaceBuilder::DetectPseudoInternalEdge ( TopTools_IndexedMapOfShape mapE)

Removes edges appearing twice (FORWARD,REVERSED) with a bounding vertex not connected to any other edge. mapE contains edges found. modifies myBlockBuilder.

◆ DetectUnclosedWire()

void TopOpeBRepBuild_FaceBuilder::DetectUnclosedWire ( TopTools_IndexedDataMapOfShapeShape mapVVsameG,
TopTools_IndexedDataMapOfShapeShape mapVon1Edge 
)

Removes are non 3d-closed wires. Fills up maps <mapVVsameG> and <mapVon1Edge>, in order to correct 3d-closed but unclosed (topologic connexity) wires. modifies myBlockBuilder.

◆ Edge()

const TopoDS_Shape & TopOpeBRepBuild_FaceBuilder::Edge ( ) const

Returns current new edge of current new wire.

◆ EdgeConnexity()

Standard_Integer TopOpeBRepBuild_FaceBuilder::EdgeConnexity ( const TopoDS_Shape E) const

◆ Face()

const TopoDS_Shape & TopOpeBRepBuild_FaceBuilder::Face ( ) const

return myFace

◆ FindNextValidElement()

void TopOpeBRepBuild_FaceBuilder::FindNextValidElement ( )

Iterates on myBlockIterator until finding a valid element.

◆ InitEdge()

Standard_Integer TopOpeBRepBuild_FaceBuilder::InitEdge ( )

◆ InitFace()

Standard_Integer TopOpeBRepBuild_FaceBuilder::InitFace ( )

◆ InitFaceBuilder()

void TopOpeBRepBuild_FaceBuilder::InitFaceBuilder ( TopOpeBRepBuild_WireEdgeSet ES,
const TopoDS_Shape F,
const Standard_Boolean  ForceClass 
)

◆ InitWire()

Standard_Integer TopOpeBRepBuild_FaceBuilder::InitWire ( )

◆ IsOldWire()

Standard_Boolean TopOpeBRepBuild_FaceBuilder::IsOldWire ( ) const

◆ MoreEdge()

Standard_Boolean TopOpeBRepBuild_FaceBuilder::MoreEdge ( ) const

◆ MoreFace()

Standard_Boolean TopOpeBRepBuild_FaceBuilder::MoreFace ( ) const

◆ MoreWire()

Standard_Boolean TopOpeBRepBuild_FaceBuilder::MoreWire ( ) const

◆ NextEdge()

void TopOpeBRepBuild_FaceBuilder::NextEdge ( )

◆ NextFace()

void TopOpeBRepBuild_FaceBuilder::NextFace ( )

◆ NextWire()

void TopOpeBRepBuild_FaceBuilder::NextWire ( )

◆ OldWire()

const TopoDS_Shape & TopOpeBRepBuild_FaceBuilder::OldWire ( ) const

Returns current wire This wire may be :

  • an old wire OldWire(), which has not been reconstructed;
  • a new wire made of edges described by ...NewEdge() methods.

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