Open CASCADE Technology 7.8.0
|
#include <Geom2dHatch_Classifier.hxx>
Public Member Functions | |
Geom2dHatch_Classifier () | |
Empty constructor, undefined algorithm. | |
Geom2dHatch_Classifier (Geom2dHatch_Elements &F, const gp_Pnt2d &P, const Standard_Real Tol) | |
Creates an algorithm to classify the Point P with Tolerance <T> on the face described by <F>. | |
void | Perform (Geom2dHatch_Elements &F, const gp_Pnt2d &P, const Standard_Real Tol) |
Classify the Point P with Tolerance <T> on the face described by <F>. | |
TopAbs_State | State () const |
Returns the result of the classification. | |
Standard_Boolean | Rejected () const |
Returns True when the state was computed by a rejection. The state is OUT. | |
Standard_Boolean | NoWires () const |
Returns True if the face contains no wire. The state is IN. | |
const Geom2dAdaptor_Curve & | Edge () const |
Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point. | |
Standard_Real | EdgeParameter () const |
Returns the parameter on Edge() used to determine the classification. | |
IntRes2d_Position | Position () const |
Returns the position of the point on the edge returned by Edge. | |
Geom2dHatch_Classifier::Geom2dHatch_Classifier | ( | ) |
Empty constructor, undefined algorithm.
Geom2dHatch_Classifier::Geom2dHatch_Classifier | ( | Geom2dHatch_Elements & | F, |
const gp_Pnt2d & | P, | ||
const Standard_Real | Tol | ||
) |
Creates an algorithm to classify the Point P with Tolerance <T> on the face described by <F>.
const Geom2dAdaptor_Curve & Geom2dHatch_Classifier::Edge | ( | ) | const |
Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point.
Standard_Real Geom2dHatch_Classifier::EdgeParameter | ( | ) | const |
Returns the parameter on Edge() used to determine the classification.
Standard_Boolean Geom2dHatch_Classifier::NoWires | ( | ) | const |
Returns True if the face contains no wire. The state is IN.
void Geom2dHatch_Classifier::Perform | ( | Geom2dHatch_Elements & | F, |
const gp_Pnt2d & | P, | ||
const Standard_Real | Tol | ||
) |
Classify the Point P with Tolerance <T> on the face described by <F>.
IntRes2d_Position Geom2dHatch_Classifier::Position | ( | ) | const |
Returns the position of the point on the edge returned by Edge.
Standard_Boolean Geom2dHatch_Classifier::Rejected | ( | ) | const |
Returns True when the state was computed by a rejection. The state is OUT.
TopAbs_State Geom2dHatch_Classifier::State | ( | ) | const |
Returns the result of the classification.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |