OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKBRep
BRepTools


BRepTools_WireExplorer Class Reference

The WireExplorer is a tool to explore the edges of
a wire in a connection order.

i.e. each edge is connected to the previous one by
its origin.
If a wire is not closed returns only a segment of edges which
length depends on started in exploration edge. If wire has
singularities (for example, loops) WireExplorer can return not all
edges in a wire. it depends on type of singularity.
.

#include <BRepTools_WireExplorer.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepTools_WireExplorer ()
 Constructs an empty explorer (which can be initialized using Init)
.
Standard_EXPORT BRepTools_WireExplorer (const TopoDS_Wire &W)
 Initializes an exploration of the wire <w> face F is used to
involve 2D analysis while exploration).
.
Standard_EXPORT BRepTools_WireExplorer (const TopoDS_Wire &W, const TopoDS_Face &F)
 Initializes an exploration of the wire <w>.
F is used to select the edge connected to the
previous in the parametric representation of <f>.
.
Standard_EXPORT void Init (const TopoDS_Wire &W)
 Initializes an exploration of the wire <w>.
.
Standard_EXPORT void Init (const TopoDS_Wire &W, const TopoDS_Face &F)
 Initializes an exploration of the wire <w>.
F is used to select the edge connected to the
previous in the parametric representation of <f>.

.
Standard_EXPORT Standard_Boolean More () const
 Returns True if there is a current edge.
.
Standard_EXPORT void Next ()
 Proceeds to the next edge.
.
Standard_EXPORT const TopoDS_EdgeCurrent () const
 Returns the current edge.
.
Standard_EXPORT TopAbs_Orientation Orientation () const
 Returns an Orientation for the current edge.
.
Standard_EXPORT const TopoDS_VertexCurrentVertex () const
 Returns the vertex connecting the current edge to
the previous one.
.
Standard_EXPORT void Clear ()
 Clears the content of the explorer.
.

Private Attributes

TopTools_DataMapOfShapeListOfShape myMap
TopoDS_Edge myEdge
TopoDS_Vertex myVertex
TopoDS_Face myFace
TopTools_MapOfShape myDoubles
Standard_Boolean myReverse
Standard_Real myTolU
Standard_Real myTolV


Constructor & Destructor Documentation

Standard_EXPORT BRepTools_WireExplorer::BRepTools_WireExplorer  ) 
 

Standard_EXPORT BRepTools_WireExplorer::BRepTools_WireExplorer const TopoDS_Wire W  ) 
 

Standard_EXPORT BRepTools_WireExplorer::BRepTools_WireExplorer const TopoDS_Wire W,
const TopoDS_Face F
 


Member Function Documentation

Standard_EXPORT void BRepTools_WireExplorer::Clear  ) 
 

Standard_EXPORT const TopoDS_Edge& BRepTools_WireExplorer::Current  )  const
 

Standard_EXPORT const TopoDS_Vertex& BRepTools_WireExplorer::CurrentVertex  )  const
 

Standard_EXPORT void BRepTools_WireExplorer::Init const TopoDS_Wire W,
const TopoDS_Face F
 

Standard_EXPORT void BRepTools_WireExplorer::Init const TopoDS_Wire W  ) 
 

Standard_EXPORT Standard_Boolean BRepTools_WireExplorer::More  )  const
 

Standard_EXPORT void BRepTools_WireExplorer::Next  ) 
 

void BRepTools_WireExplorer::operator delete void *  anAddress  )  [inline]
 

void* BRepTools_WireExplorer::operator new size_t  size  )  [inline]
 

void* BRepTools_WireExplorer::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT TopAbs_Orientation BRepTools_WireExplorer::Orientation  )  const
 


Field Documentation

TopTools_MapOfShape BRepTools_WireExplorer::myDoubles [private]
 

TopoDS_Edge BRepTools_WireExplorer::myEdge [private]
 

TopoDS_Face BRepTools_WireExplorer::myFace [private]
 

TopTools_DataMapOfShapeListOfShape BRepTools_WireExplorer::myMap [private]
 

Standard_Boolean BRepTools_WireExplorer::myReverse [private]
 

Standard_Real BRepTools_WireExplorer::myTolU [private]
 

Standard_Real BRepTools_WireExplorer::myTolV [private]
 

TopoDS_Vertex BRepTools_WireExplorer::myVertex [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:35 2008 for OpenCASCADE by  doxygen 1.4.1