Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
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

DEFINE_STANDARD_ALLOC BRepTools_WireExplorer ()
 Constructs an empty explorer (which can be initialized using Init)

 BRepTools_WireExplorer (const TopoDS_Wire &W)
 IInitializes an exploration of the wire <W>.

 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>.

void Init (const TopoDS_Wire &W)
 Initializes an exploration of the wire <W>.

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_Boolean More () const
 Returns True if there is a current edge.

void Next ()
 Proceeds to the next edge.

const TopoDS_EdgeCurrent () const
 Returns the current edge.

TopAbs_Orientation Orientation () const
 Returns an Orientation for the current edge.

const TopoDS_VertexCurrentVertex () const
 Returns the vertex connecting the current edge to
the previous one.

void Clear ()
 Clears the content of the explorer.


Constructor & Destructor Documentation


Member Function Documentation


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