Open CASCADE Technology
7.2.0
|
#include <Geom2dHatch_FClass2dOfClassifier.hxx>
Public Member Functions | |
Geom2dHatch_FClass2dOfClassifier () | |
Creates an undefined classifier. More... | |
void | Reset (const gp_Lin2d &L, const Standard_Real P, const Standard_Real Tol) |
Starts a classification process. The point to classify is the origin of the line <L>. More... | |
void | Compare (const Geom2dAdaptor_Curve &E, const TopAbs_Orientation Or) |
Updates the classification process with the edge <E> from the boundary. More... | |
Standard_Real | Parameter () const |
Returns the current value of the parameter. More... | |
Geom2dHatch_Intersector & | Intersector () |
Returns the intersecting algorithm. More... | |
Standard_Integer | ClosestIntersection () const |
Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm. More... | |
TopAbs_State | State () const |
Returns the current state of the point. More... | |
Standard_Boolean | IsHeadOrEnd () const |
Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise. More... | |
Geom2dHatch_FClass2dOfClassifier::Geom2dHatch_FClass2dOfClassifier | ( | ) |
Creates an undefined classifier.
Standard_Integer Geom2dHatch_FClass2dOfClassifier::ClosestIntersection | ( | ) | const |
Returns 0 if the last compared edge had no relevant intersection. Else returns the index of this intersection in the last intersection algorithm.
void Geom2dHatch_FClass2dOfClassifier::Compare | ( | const Geom2dAdaptor_Curve & | E, |
const TopAbs_Orientation | Or | ||
) |
Updates the classification process with the edge <E> from the boundary.
Geom2dHatch_Intersector& Geom2dHatch_FClass2dOfClassifier::Intersector | ( | ) |
Returns the intersecting algorithm.
Standard_Boolean Geom2dHatch_FClass2dOfClassifier::IsHeadOrEnd | ( | ) | const |
Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise.
Standard_Real Geom2dHatch_FClass2dOfClassifier::Parameter | ( | ) | const |
Returns the current value of the parameter.
void Geom2dHatch_FClass2dOfClassifier::Reset | ( | const gp_Lin2d & | L, |
const Standard_Real | P, | ||
const Standard_Real | Tol | ||
) |
Starts a classification process. The point to classify is the origin of the line <L>.
is the original length of the segment on <L> used to compute intersections. <Tol> is the tolerance attached to the line segment in intersections.
TopAbs_State Geom2dHatch_FClass2dOfClassifier::State | ( | ) | const |
Returns the current state of the point.