Open CASCADE Technology 6.6.0
Public Member Functions
TopClass_SolidExplorer Class Reference

Provide an exploration of a BRep Shape for the
classification.

#include <TopClass_SolidExplorer.hxx>

Public Member Functions

virtual Standard_Boolean Reject (const gp_Pnt &P) const =0
 Should return True if the point is outside a
bounding volume of the shape.

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


virtual void OtherSegment (const gp_Pnt &P, gp_Lin &L, Standard_Real &Par)=0
 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.

if the method is called N times on a shape with F
faces (N>F) the line point to other points on the
face 1,2,3 ... N

virtual void InitShell ()=0
 Starts an exploration of the shells.

virtual Standard_Boolean MoreShells () const =0
 Returns True if there is a current shell.

virtual void NextShell ()=0
 Sets the explorer to the next shell and returns
False if there are no more wires.

virtual Standard_Boolean RejectShell (const gp_Lin &L, const Standard_Real Par) const =0
 Returns True if the shell bounding volume does not
intersect the segment.

virtual void InitFace ()=0
 Starts an exploration of the faces.

virtual Standard_Boolean MoreFaces () const =0
 Returns True if there is a current face.

virtual void NextFace ()=0
 Sets the explorer to the next face and returns
False if there are no more wires.

virtual TopoDS_Face CurrentFace () const =0
 Returns the current face.

virtual Standard_Boolean RejectFace (const gp_Lin &L, const Standard_Real Par) const =0
 Returns True if the face bounding volume does not
intersect the segment.


Member Function Documentation

virtual TopoDS_Face TopClass_SolidExplorer::CurrentFace ( ) const [pure virtual]
virtual void TopClass_SolidExplorer::InitFace ( ) [pure virtual]
virtual void TopClass_SolidExplorer::InitShell ( ) [pure virtual]
virtual Standard_Boolean TopClass_SolidExplorer::MoreFaces ( ) const [pure virtual]
virtual Standard_Boolean TopClass_SolidExplorer::MoreShells ( ) const [pure virtual]
virtual void TopClass_SolidExplorer::NextFace ( ) [pure virtual]
virtual void TopClass_SolidExplorer::NextShell ( ) [pure virtual]
virtual void TopClass_SolidExplorer::OtherSegment ( const gp_Pnt P,
gp_Lin L,
Standard_Real Par 
) [pure virtual]
virtual Standard_Boolean TopClass_SolidExplorer::Reject ( const gp_Pnt P) const [pure virtual]
virtual Standard_Boolean TopClass_SolidExplorer::RejectFace ( const gp_Lin L,
const Standard_Real  Par 
) const [pure virtual]
virtual Standard_Boolean TopClass_SolidExplorer::RejectShell ( const gp_Lin L,
const Standard_Real  Par 
) const [pure virtual]
virtual void TopClass_SolidExplorer::Segment ( const gp_Pnt P,
gp_Lin L,
Standard_Real Par 
) [pure virtual]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines