Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
TopOpeBRepBuild_FaceBuilder Class Reference

#include <TopOpeBRepBuild_FaceBuilder.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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


Member Function Documentation

  • 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: