Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Geom2dHatch_FClass2dOfClassifier Class Reference

#include <Geom2dHatch_FClass2dOfClassifier.hxx>

Public Member Functions

 Geom2dHatch_FClass2dOfClassifier ()
 Creates an undefined classifier.
 
void Reset (const gp_Lin2d &L, const double P, const double Tol)
 Starts a classification process. The point to classify is the origin of the line <L>.
 
void Compare (const Geom2dAdaptor_Curve &E, const TopAbs_Orientation Or)
 Updates the classification process with the edge <E> from the boundary.
 
double Parameter () const
 Returns the current value of the parameter.
 
Geom2dHatch_IntersectorIntersector ()
 Returns the intersecting algorithm.
 
int 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.
 
TopAbs_State State () const
 Returns the current state of the point.
 
bool IsHeadOrEnd () const
 Returns the true if the closest intersection point represents head or end of the edge. Returns false otherwise.
 

Constructor & Destructor Documentation

◆ Geom2dHatch_FClass2dOfClassifier()

Geom2dHatch_FClass2dOfClassifier::Geom2dHatch_FClass2dOfClassifier ( )

Creates an undefined classifier.

Member Function Documentation

◆ ClosestIntersection()

int Geom2dHatch_FClass2dOfClassifier::ClosestIntersection ( ) const
inline

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 ( )
inline

Returns the intersecting algorithm.

◆ IsHeadOrEnd()

bool Geom2dHatch_FClass2dOfClassifier::IsHeadOrEnd ( ) const
inline

Returns the true if the closest intersection point represents head or end of the edge. Returns false otherwise.

◆ Parameter()

double Geom2dHatch_FClass2dOfClassifier::Parameter ( ) const
inline

Returns the current value of the parameter.

◆ Reset()

void Geom2dHatch_FClass2dOfClassifier::Reset ( const gp_Lin2d & L,
const double P,
const double 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
inline

Returns the current state of the point.


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