Open CASCADE Technology
7.2.0
|
Provides an algorithm to classify a point in a solid. More...
#include <BRepClass3d_SClassifier.hxx>
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 () |
Provides an algorithm to classify a point in a solid.
BRepClass3d_SClassifier::BRepClass3d_SClassifier | ( | ) |
Empty constructor.
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.
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.
|
protected |
|
protected |
Standard_Boolean BRepClass3d_SClassifier::IsOnAFace | ( | ) | const |
Returns True when the point is a point of a face.
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.
void BRepClass3d_SClassifier::PerformInfinitePoint | ( | BRepClass3d_SolidExplorer & | S, |
const Standard_Real | Tol | ||
) |
Classify an infinite point with the tolerance Tol on the solid S.
Standard_Boolean BRepClass3d_SClassifier::Rejected | ( | ) | const |
Returns True if the classification has been computed by rejection. The State is then OUT.
TopAbs_State BRepClass3d_SClassifier::State | ( | ) | const |
Returns the result of the classification.