Open CASCADE Technology 7.8.0
Public Member Functions
BRepClass3d_SolidClassifier Class Reference

Provides an algorithm to classify a point in a solid. More...

#include <BRepClass3d_SolidClassifier.hxx>

Inheritance diagram for BRepClass3d_SolidClassifier:
Inheritance graph
[legend]

Public Member Functions

 BRepClass3d_SolidClassifier ()
 empty constructor
 
void Load (const TopoDS_Shape &S)
 
 BRepClass3d_SolidClassifier (const TopoDS_Shape &S)
 Constructor from a Shape.
 
 BRepClass3d_SolidClassifier (const TopoDS_Shape &S, const gp_Pnt &P, const Standard_Real Tol)
 Constructor to classify the point P with the tolerance Tol on the solid S.
 
void Perform (const gp_Pnt &P, const Standard_Real Tol)
 Classify the point P with the tolerance Tol on the solid S.
 
void PerformInfinitePoint (const Standard_Real Tol)
 Classify an infinite point with the tolerance Tol on the solid S. Useful for compute the orientation of a solid.
 
void Destroy ()
 
 ~BRepClass3d_SolidClassifier ()
 
- Public Member Functions inherited from BRepClass3d_SClassifier
 BRepClass3d_SClassifier ()
 Empty constructor.
 
 BRepClass3d_SClassifier (BRepClass3d_SolidExplorer &S, const gp_Pnt &P, const Standard_Real Tol)
 Constructor to classify the point P with the tolerance Tol on the solid S.
 
void Perform (BRepClass3d_SolidExplorer &S, const gp_Pnt &P, const Standard_Real Tol)
 Classify the point P with the tolerance Tol on the solid S.
 
void PerformInfinitePoint (BRepClass3d_SolidExplorer &S, const Standard_Real Tol)
 Classify an infinite point with the tolerance Tol on the solid S.
 
Standard_Boolean Rejected () const
 Returns True if the classification has been computed by rejection. The State is then OUT.
 
TopAbs_State State () const
 Returns the result of the classification.
 
Standard_Boolean IsOnAFace () const
 Returns True when the point is a point of a face.
 
TopoDS_Face Face () const
 Returns the face used to determine the classification. When the state is ON, this is the face containing the point.
 

Additional Inherited Members

- Protected Member Functions inherited from BRepClass3d_SClassifier
void ForceIn ()
 
void ForceOut ()
 

Detailed Description

Provides an algorithm to classify a point in a solid.

Constructor & Destructor Documentation

◆ BRepClass3d_SolidClassifier() [1/3]

BRepClass3d_SolidClassifier::BRepClass3d_SolidClassifier ( )

empty constructor

◆ BRepClass3d_SolidClassifier() [2/3]

BRepClass3d_SolidClassifier::BRepClass3d_SolidClassifier ( const TopoDS_Shape S)

Constructor from a Shape.

◆ BRepClass3d_SolidClassifier() [3/3]

BRepClass3d_SolidClassifier::BRepClass3d_SolidClassifier ( const TopoDS_Shape S,
const gp_Pnt P,
const Standard_Real  Tol 
)

Constructor to classify the point P with the tolerance Tol on the solid S.

◆ ~BRepClass3d_SolidClassifier()

BRepClass3d_SolidClassifier::~BRepClass3d_SolidClassifier ( )
inline

Member Function Documentation

◆ Destroy()

void BRepClass3d_SolidClassifier::Destroy ( )

◆ Load()

void BRepClass3d_SolidClassifier::Load ( const TopoDS_Shape S)

◆ Perform()

void BRepClass3d_SolidClassifier::Perform ( const gp_Pnt P,
const Standard_Real  Tol 
)

Classify the point P with the tolerance Tol on the solid S.

◆ PerformInfinitePoint()

void BRepClass3d_SolidClassifier::PerformInfinitePoint ( const Standard_Real  Tol)

Classify an infinite point with the tolerance Tol on the solid S. Useful for compute the orientation of a solid.


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