Open CASCADE Technology 7.8.2.dev
TopClass_SolidExplorer Class Referenceabstract

Provide an exploration of a BRep Shape for the classification. Defines the description of a solid for the SolidClassifier. 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.
 
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.
 
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.
 

Detailed Description

Provide an exploration of a BRep Shape for the classification. Defines the description of a solid for the SolidClassifier.

Member Function Documentation

◆ CurrentFace()

virtual TopoDS_Face TopClass_SolidExplorer::CurrentFace ( ) const
pure virtual

Returns the current face.

◆ InitFace()

virtual void TopClass_SolidExplorer::InitFace ( )
pure virtual

Starts an exploration of the faces.

◆ InitShell()

virtual void TopClass_SolidExplorer::InitShell ( )
pure virtual

Starts an exploration of the shells.

◆ MoreFaces()

virtual Standard_Boolean TopClass_SolidExplorer::MoreFaces ( ) const
pure virtual

Returns True if there is a current face.

◆ MoreShells()

virtual Standard_Boolean TopClass_SolidExplorer::MoreShells ( ) const
pure virtual

Returns True if there is a current shell.

◆ NextFace()

virtual void TopClass_SolidExplorer::NextFace ( )
pure virtual

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

◆ NextShell()

virtual void TopClass_SolidExplorer::NextShell ( )
pure virtual

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

◆ OtherSegment()

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

◆ Reject()

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.

◆ RejectFace()

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.

◆ RejectShell()

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.

◆ 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 one intersection with the shape boundary to compute intersections.


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