Open CASCADE Technology  7.3.0
Public Member Functions | Protected Member Functions
BRepClass3d_SClassifier Class Reference

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

#include <BRepClass3d_SClassifier.hxx>

Inheritance diagram for BRepClass3d_SClassifier:
Inheritance graph
[legend]

Public Member Functions

 BRepClass3d_SClassifier ()
 Empty constructor. More...
 
 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. More...
 
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. More...
 
void PerformInfinitePoint (BRepClass3d_SolidExplorer &S, const Standard_Real Tol)
 Classify an infinite point with the tolerance Tol on the solid S. More...
 
Standard_Boolean Rejected () const
 Returns True if the classification has been computed by rejection. The State is then OUT. More...
 
TopAbs_State State () const
 Returns the result of the classification. More...
 
Standard_Boolean IsOnAFace () const
 Returns True when the point is a point of a face. More...
 
TopoDS_Face Face () const
 Returns the face used to determine the classification. When the state is ON, this is the face containing the point. More...
 

Protected Member Functions

void ForceIn ()
 
void ForceOut ()
 

Detailed Description

Provides an algorithm to classify a point in a solid.

Constructor & Destructor Documentation

◆ BRepClass3d_SClassifier() [1/2]

BRepClass3d_SClassifier::BRepClass3d_SClassifier ( )

Empty constructor.

◆ BRepClass3d_SClassifier() [2/2]

BRepClass3d_SClassifier::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.

Member Function Documentation

◆ Face()

TopoDS_Face BRepClass3d_SClassifier::Face ( ) const

Returns the face used to determine the classification. When the state is ON, this is the face containing the point.

When Rejected() returns True, Face() has no signification.

◆ ForceIn()

void BRepClass3d_SClassifier::ForceIn ( )
protected

◆ ForceOut()

void BRepClass3d_SClassifier::ForceOut ( )
protected

◆ IsOnAFace()

Standard_Boolean BRepClass3d_SClassifier::IsOnAFace ( ) const

Returns True when the point is a point of a face.

◆ Perform()

void BRepClass3d_SClassifier::Perform ( BRepClass3d_SolidExplorer S,
const gp_Pnt P,
const Standard_Real  Tol 
)

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

◆ PerformInfinitePoint()

void BRepClass3d_SClassifier::PerformInfinitePoint ( BRepClass3d_SolidExplorer S,
const Standard_Real  Tol 
)

Classify an infinite point with the tolerance Tol on the solid S.

◆ Rejected()

Standard_Boolean BRepClass3d_SClassifier::Rejected ( ) const

Returns True if the classification has been computed by rejection. The State is then OUT.

◆ State()

TopAbs_State BRepClass3d_SClassifier::State ( ) const

Returns the result of the classification.


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