Open CASCADE Technology  7.0.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>. More...
 
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. More...
 
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. More...
 
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. More...
 
const TopoDS_ShapeFace () const
 return myFace More...
 
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 : More...
 
void FindNextValidElement ()
 Iterates on myBlockIterator until finding a valid element. More...
 
Standard_Integer InitEdge ()
 
Standard_Boolean MoreEdge () const
 
void NextEdge ()
 
const TopoDS_ShapeEdge () const
 Returns current new edge of current new wire. More...
 
Standard_Integer EdgeConnexity (const TopoDS_Shape &E) const
 
Standard_Integer AddEdgeWire (const TopoDS_Shape &E, TopoDS_Shape &W) const
 

Constructor & Destructor Documentation

TopOpeBRepBuild_FaceBuilder::TopOpeBRepBuild_FaceBuilder ( )
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

Standard_Integer TopOpeBRepBuild_FaceBuilder::AddEdgeWire ( const TopoDS_Shape E,
TopoDS_Shape W 
) const
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.

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.

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.

const TopoDS_Shape& TopOpeBRepBuild_FaceBuilder::Edge ( ) const

Returns current new edge of current new wire.

Standard_Integer TopOpeBRepBuild_FaceBuilder::EdgeConnexity ( const TopoDS_Shape E) const
const TopoDS_Shape& TopOpeBRepBuild_FaceBuilder::Face ( ) const

return myFace

void TopOpeBRepBuild_FaceBuilder::FindNextValidElement ( )

Iterates on myBlockIterator until finding a valid element.

Standard_Integer TopOpeBRepBuild_FaceBuilder::InitEdge ( )
Standard_Integer TopOpeBRepBuild_FaceBuilder::InitFace ( )
void TopOpeBRepBuild_FaceBuilder::InitFaceBuilder ( TopOpeBRepBuild_WireEdgeSet ES,
const TopoDS_Shape F,
const Standard_Boolean  ForceClass 
)
Standard_Integer TopOpeBRepBuild_FaceBuilder::InitWire ( )
Standard_Boolean TopOpeBRepBuild_FaceBuilder::IsOldWire ( ) const
Standard_Boolean TopOpeBRepBuild_FaceBuilder::MoreEdge ( ) const
Standard_Boolean TopOpeBRepBuild_FaceBuilder::MoreFace ( ) const
Standard_Boolean TopOpeBRepBuild_FaceBuilder::MoreWire ( ) const
void TopOpeBRepBuild_FaceBuilder::NextEdge ( )
void TopOpeBRepBuild_FaceBuilder::NextFace ( )
void TopOpeBRepBuild_FaceBuilder::NextWire ( )
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: