Open CASCADE Technology  7.7.0.dev
Public Member Functions

Geom2dHatch_FClass2dOfClassifier Class Reference

#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_IntersectorIntersector ()
 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...
 

Constructor & Destructor Documentation

◆ Geom2dHatch_FClass2dOfClassifier()

Geom2dHatch_FClass2dOfClassifier::Geom2dHatch_FClass2dOfClassifier ( )

Creates an undefined classifier.

Member Function Documentation

◆ ClosestIntersection()

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.

◆ Compare()

void Geom2dHatch_FClass2dOfClassifier::Compare ( const Geom2dAdaptor_Curve E,
const TopAbs_Orientation  Or 
)

Updates the classification process with the edge <E> from the boundary.

◆ Intersector()

Geom2dHatch_Intersector& Geom2dHatch_FClass2dOfClassifier::Intersector ( )

Returns the intersecting algorithm.

◆ IsHeadOrEnd()

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.

◆ Parameter()

Standard_Real Geom2dHatch_FClass2dOfClassifier::Parameter ( ) const

Returns the current value of the parameter.

◆ Reset()

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.

◆ State()

TopAbs_State Geom2dHatch_FClass2dOfClassifier::State ( ) const

Returns the current state of the point.


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