BRepClass3d_SolidExplorer Class Reference

Provide an exploration of a BRep Shape for the
classification.

#include <BRepClass3d_SolidExplorer.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 BRepClass3d_SolidExplorer ()
 BRepClass3d_SolidExplorer (const BRepClass3d_SolidExplorer &Oth)
 Raise if called.

 BRepClass3d_SolidExplorer (const TopoDS_Shape &S)
virtual void Delete ()
virtual ~BRepClass3d_SolidExplorer ()
void InitShape (const TopoDS_Shape &S)
virtual Standard_Boolean Reject (const gp_Pnt &P) const
 Should return True if P outside of bounding vol. of the shape

Standard_Boolean PointInTheFace (const TopoDS_Face &F, gp_Pnt &P, Standard_Real &u, Standard_Real &v, Standard_Real &Param, Standard_Integer &Index) const
Standard_Boolean PointInTheFace (const TopoDS_Face &F, gp_Pnt &P, Standard_Real &u, Standard_Real &v, Standard_Real &Param, Standard_Integer &Index, const Handle< BRepAdaptor_HSurface > &surf, const Standard_Real u1, const Standard_Real v1, const Standard_Real u2, const Standard_Real v2) const
 <Index> gives point index to search from and returns
point index of succeseful search

void InitShell ()
 Starts an exploration of the shells.

Standard_Boolean MoreShell () const
 Returns True if there is a current shell.

void NextShell ()
 Sets the explorer to the next shell.

TopoDS_Shell CurrentShell () const
 Returns the current shell.

virtual Standard_Boolean RejectShell (const gp_Lin &L) const
 Returns True if the Shell is rejected.

void InitFace ()
 Starts an exploration of the faces of the current shell.

Standard_Boolean MoreFace () const
 Returns True if current face in current shell.

void NextFace ()
 Sets the explorer to the next Face of the current shell.

TopoDS_Face CurrentFace () const
 Returns the current face.

virtual Standard_Boolean RejectFace (const gp_Lin &L) const
 returns True if the face is rejected.

Standard_Integer Segment (const gp_Pnt &P, gp_Lin &L, Standard_Real &Par)
 Returns in <L>, <Par> a segment having at least
one intersection with the shape boundary to
compute intersections.


Standard_Integer OtherSegment (const gp_Pnt &P, gp_Lin &L, Standard_Real &Par)
 Returns in <L>, <Par> a segment having at least
one intersection with the shape boundary to
compute intersections.

The First Call to this method returns a line which
point to a point of the first face of the shape.
The Second Call provide a line to the second face
and so on.


Standard_Integer GetFaceSegmentIndex () const
 Returns the index of face for which
last segment is calculated.

virtual void DumpSegment (const gp_Pnt &P, const gp_Lin &L, const Standard_Real Par, const TopAbs_State S) const
const Bnd_BoxBox () const
IntCurvesFace_IntersectorIntersector (const TopoDS_Face &F) const
void Destroy ()

Static Public Member Functions

static Standard_Boolean FindAPointInTheFace (const TopoDS_Face &F, gp_Pnt &P, Standard_Real &Param)
 compute a point P in the face F. Param is a Real in
]0,1[ and is used to initialise the algorithm. For
different values , different points are returned.

static Standard_Boolean FindAPointInTheFace (const TopoDS_Face &F, gp_Pnt &P, Standard_Real &u, Standard_Real &v, Standard_Real &Param)
static Standard_Boolean FindAPointInTheFace (const TopoDS_Face &F, gp_Pnt &P, Standard_Real &u, Standard_Real &v)
static Standard_Boolean FindAPointInTheFace (const TopoDS_Face &F, gp_Pnt &P)
static Standard_Boolean FindAPointInTheFace (const TopoDS_Face &F, Standard_Real &u, Standard_Real &v)

Constructor & Destructor Documentation

BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer (  ) 
BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer ( const BRepClass3d_SolidExplorer Oth  ) 
BRepClass3d_SolidExplorer::BRepClass3d_SolidExplorer ( const TopoDS_Shape S  ) 
virtual BRepClass3d_SolidExplorer::~BRepClass3d_SolidExplorer (  )  [inline, virtual]

Member Function Documentation

const Bnd_Box& BRepClass3d_SolidExplorer::Box (  )  const
TopoDS_Face BRepClass3d_SolidExplorer::CurrentFace (  )  const
TopoDS_Shell BRepClass3d_SolidExplorer::CurrentShell (  )  const
virtual void BRepClass3d_SolidExplorer::Delete (  )  [virtual]
void BRepClass3d_SolidExplorer::Destroy (  ) 
virtual void BRepClass3d_SolidExplorer::DumpSegment ( const gp_Pnt P,
const gp_Lin L,
const Standard_Real  Par,
const TopAbs_State  S 
) const [virtual]
static Standard_Boolean BRepClass3d_SolidExplorer::FindAPointInTheFace ( const TopoDS_Face F,
Standard_Real u,
Standard_Real v 
) [static]
static Standard_Boolean BRepClass3d_SolidExplorer::FindAPointInTheFace ( const TopoDS_Face F,
gp_Pnt P 
) [static]
static Standard_Boolean BRepClass3d_SolidExplorer::FindAPointInTheFace ( const TopoDS_Face F,
gp_Pnt P,
Standard_Real u,
Standard_Real v 
) [static]
static Standard_Boolean BRepClass3d_SolidExplorer::FindAPointInTheFace ( const TopoDS_Face F,
gp_Pnt P,
Standard_Real u,
Standard_Real v,
Standard_Real Param 
) [static]
static Standard_Boolean BRepClass3d_SolidExplorer::FindAPointInTheFace ( const TopoDS_Face F,
gp_Pnt P,
Standard_Real Param 
) [static]
Standard_Integer BRepClass3d_SolidExplorer::GetFaceSegmentIndex (  )  const
void BRepClass3d_SolidExplorer::InitFace (  ) 
void BRepClass3d_SolidExplorer::InitShape ( const TopoDS_Shape S  ) 
void BRepClass3d_SolidExplorer::InitShell (  ) 
IntCurvesFace_Intersector& BRepClass3d_SolidExplorer::Intersector ( const TopoDS_Face F  )  const
Standard_Boolean BRepClass3d_SolidExplorer::MoreFace (  )  const
Standard_Boolean BRepClass3d_SolidExplorer::MoreShell (  )  const
void BRepClass3d_SolidExplorer::NextFace (  ) 
void BRepClass3d_SolidExplorer::NextShell (  ) 
void BRepClass3d_SolidExplorer::operator delete ( void *  anAddress  )  [inline]
void* BRepClass3d_SolidExplorer::operator new ( size_t  size  )  [inline]
void* BRepClass3d_SolidExplorer::operator new ( size_t  ,
void *  anAddress 
) [inline]
Standard_Integer BRepClass3d_SolidExplorer::OtherSegment ( const gp_Pnt P,
gp_Lin L,
Standard_Real Par 
)
Standard_Boolean BRepClass3d_SolidExplorer::PointInTheFace ( const TopoDS_Face F,
gp_Pnt P,
Standard_Real u,
Standard_Real v,
Standard_Real Param,
Standard_Integer Index,
const Handle< BRepAdaptor_HSurface > &  surf,
const Standard_Real  u1,
const Standard_Real  v1,
const Standard_Real  u2,
const Standard_Real  v2 
) const
Standard_Boolean BRepClass3d_SolidExplorer::PointInTheFace ( const TopoDS_Face F,
gp_Pnt P,
Standard_Real u,
Standard_Real v,
Standard_Real Param,
Standard_Integer Index 
) const
virtual Standard_Boolean BRepClass3d_SolidExplorer::Reject ( const gp_Pnt P  )  const [virtual]
virtual Standard_Boolean BRepClass3d_SolidExplorer::RejectFace ( const gp_Lin L  )  const [virtual]
virtual Standard_Boolean BRepClass3d_SolidExplorer::RejectShell ( const gp_Lin L  )  const [virtual]
Standard_Integer BRepClass3d_SolidExplorer::Segment ( const gp_Pnt P,
gp_Lin L,
Standard_Real Par 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 10:52:47 2011 for Open CASCADE Technology by  doxygen 1.6.3