Open CASCADE Technology
6.5.4
|
Provides an algorithm to classify a point in a solid.
#include <BRepClass3d_SClassifier.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | 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. When Rejected() returns True, Face() has no signification. | |
Protected Member Functions | |
void | ForceIn () |
void | ForceOut () |
BRepClass3d_SClassifier::BRepClass3d_SClassifier | ( | BRepClass3d_SolidExplorer & | S, |
const gp_Pnt & | P, | ||
const Standard_Real | Tol | ||
) |
TopoDS_Face BRepClass3d_SClassifier::Face | ( | ) | const |
void BRepClass3d_SClassifier::ForceIn | ( | ) | [protected] |
void BRepClass3d_SClassifier::ForceOut | ( | ) | [protected] |
void BRepClass3d_SClassifier::Perform | ( | BRepClass3d_SolidExplorer & | S, |
const gp_Pnt & | P, | ||
const Standard_Real | Tol | ||
) |
void BRepClass3d_SClassifier::PerformInfinitePoint | ( | BRepClass3d_SolidExplorer & | S, |
const Standard_Real | Tol | ||
) |
TopAbs_State BRepClass3d_SClassifier::State | ( | ) | const |