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

ModelingAlgorithms
TKTopAlgo
BRepClass


BRepClass_FaceExplorer Class Reference

Provide an exploration of a BRep Face for the
classification.
.

#include <BRepClass_FaceExplorer.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepClass_FaceExplorer (const TopoDS_Face &F)
Standard_EXPORT Standard_Boolean Reject (const gp_Pnt2d &P) const
 Should return True if the point is outside a
bounding volume of the face.
.
Standard_EXPORT Standard_Boolean Segment (const gp_Pnt2d &P, gp_Lin2d &L, Standard_Real &Par)
 Returns in <l>, <par> a segment having at least
one intersection with the face boundary to
compute intersections.
.
Standard_EXPORT Standard_Boolean OtherSegment (const gp_Pnt2d &P, gp_Lin2d &L, Standard_Real &Par)
 Returns in <l>, <par> a segment having at least
one intersection with the face boundary to
compute intersections. Each call gives another segment.
.
Standard_EXPORT void InitWires ()
 Starts an exploration of the wires.
.
Standard_Boolean MoreWires () const
 Returns True if there is a current wire.

.
void NextWire ()
 Sets the explorer to the next wire.

.
Standard_EXPORT Standard_Boolean RejectWire (const gp_Lin2d &L, const Standard_Real Par) const
 Returns True if the wire bounding volume does not
intersect the segment.
.
Standard_EXPORT void InitEdges ()
 Starts an exploration of the edges of the current
wire.
.
Standard_Boolean MoreEdges () const
 Returns True if there is a current edge.

.
void NextEdge ()
 Sets the explorer to the next edge.

.
Standard_EXPORT Standard_Boolean RejectEdge (const gp_Lin2d &L, const Standard_Real Par) const
 Returns True if the edge bounding volume does not
intersect the segment.
.
Standard_EXPORT void CurrentEdge (BRepClass_Edge &E, TopAbs_Orientation &Or) const
 Current edge in current wire and its orientation.
.

Private Attributes

TopoDS_Face myFace
TopExp_Explorer myWExplorer
TopExp_Explorer myEExplorer
Standard_Integer myCurEdgeInd
Standard_Real myCurEdgePar


Constructor & Destructor Documentation

Standard_EXPORT BRepClass_FaceExplorer::BRepClass_FaceExplorer const TopoDS_Face &  F  ) 
 


Member Function Documentation

Standard_EXPORT void BRepClass_FaceExplorer::CurrentEdge BRepClass_Edge E,
TopAbs_Orientation &  Or
const
 

Standard_EXPORT void BRepClass_FaceExplorer::InitEdges  ) 
 

Standard_EXPORT void BRepClass_FaceExplorer::InitWires  ) 
 

Standard_Boolean BRepClass_FaceExplorer::MoreEdges  )  const [inline]
 

Standard_Boolean BRepClass_FaceExplorer::MoreWires  )  const [inline]
 

void BRepClass_FaceExplorer::NextEdge  )  [inline]
 

void BRepClass_FaceExplorer::NextWire  )  [inline]
 

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

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

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

Standard_EXPORT Standard_Boolean BRepClass_FaceExplorer::OtherSegment const gp_Pnt2d &  P,
gp_Lin2d &  L,
Standard_Real &  Par
 

Standard_EXPORT Standard_Boolean BRepClass_FaceExplorer::Reject const gp_Pnt2d &  P  )  const
 

Standard_EXPORT Standard_Boolean BRepClass_FaceExplorer::RejectEdge const gp_Lin2d &  L,
const Standard_Real  Par
const
 

Standard_EXPORT Standard_Boolean BRepClass_FaceExplorer::RejectWire const gp_Lin2d &  L,
const Standard_Real  Par
const
 

Standard_EXPORT Standard_Boolean BRepClass_FaceExplorer::Segment const gp_Pnt2d &  P,
gp_Lin2d &  L,
Standard_Real &  Par
 


Field Documentation

Standard_Integer BRepClass_FaceExplorer::myCurEdgeInd [private]
 

Standard_Real BRepClass_FaceExplorer::myCurEdgePar [private]
 

TopExp_Explorer BRepClass_FaceExplorer::myEExplorer [private]
 

TopoDS_Face BRepClass_FaceExplorer::myFace [private]
 

TopExp_Explorer BRepClass_FaceExplorer::myWExplorer [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:41:10 2008 for OpenCASCADE by  doxygen 1.4.1