Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
TopClass_SolidExplorer Class Referenceabstract

Provide an exploration of a BRep Shape for the
classification.
More...

#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.
More...
 
virtual void Segment (const gp_Pnt &P, gp_Lin &L, Standard_Real &Par)=0
 
 Returns  in <L>, <Par>  a segment having at least <br>
     one  intersection  with  the  shape  boundary  to <br>
     compute  intersections. <br>


More...

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


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

 
virtual void InitShell ()=0
 Starts an exploration of the shells.
More...
 
virtual Standard_Boolean MoreShells () const =0
 Returns True if there is a current shell.
More...
 
virtual void NextShell ()=0
 Sets the explorer to the next shell and returns
False if there are no more wires.
More...
 
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.
More...
 
virtual void InitFace ()=0
 Starts an exploration of the faces.
More...
 
virtual Standard_Boolean MoreFaces () const =0
 Returns True if there is a current face.
More...
 
virtual void NextFace ()=0
 Sets the explorer to the next face and returns
False if there are no more wires.
More...
 
virtual TopoDS_Face CurrentFace () const =0
 Returns the current face.
More...
 
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.
More...
 

Detailed Description

Provide an exploration of a BRep Shape for the
classification.

Member Function Documentation

virtual TopoDS_Face TopClass_SolidExplorer::CurrentFace ( ) const
pure virtual

Returns the current face.

virtual void TopClass_SolidExplorer::InitFace ( )
pure virtual

Starts an exploration of the faces.

virtual void TopClass_SolidExplorer::InitShell ( )
pure virtual

Starts an exploration of the shells.

virtual Standard_Boolean TopClass_SolidExplorer::MoreFaces ( ) const
pure virtual

Returns True if there is a current face.

virtual Standard_Boolean TopClass_SolidExplorer::MoreShells ( ) const
pure virtual

Returns True if there is a current shell.

virtual void TopClass_SolidExplorer::NextFace ( )
pure virtual

Sets the explorer to the next face and returns
False if there are no more wires.

virtual void TopClass_SolidExplorer::NextShell ( )
pure virtual

Sets the explorer to the next shell and returns
False if there are no more wires.

virtual void TopClass_SolidExplorer::OtherSegment ( const gp_Pnt P,
gp_Lin L,
Standard_Real Par 
)
pure virtual

 Returns  in <L>, <Par>  a segment having at least <br>
     one  intersection  with  the  shape  boundary  to <br>
     compute  intersections. <br>


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 Standard_Boolean TopClass_SolidExplorer::Reject ( const gp_Pnt P) const
pure virtual

Should return True if the point is outside a
bounding volume of the shape.

virtual Standard_Boolean TopClass_SolidExplorer::RejectFace ( const gp_Lin L,
const Standard_Real  Par 
) const
pure virtual

Returns True if the face bounding volume does not
intersect the segment.

virtual Standard_Boolean TopClass_SolidExplorer::RejectShell ( const gp_Lin L,
const Standard_Real  Par 
) const
pure virtual

Returns True if the shell bounding volume does not
intersect the segment.

virtual void TopClass_SolidExplorer::Segment ( const gp_Pnt P,
gp_Lin L,
Standard_Real Par 
)
pure virtual

 Returns  in <L>, <Par>  a segment having at least <br>
     one  intersection  with  the  shape  boundary  to <br>
     compute  intersections. <br>



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