Open CASCADE Technology 7.8.2.dev
BRepClass_FClass2dOfFClassifier Class Reference

#include <BRepClass_FClass2dOfFClassifier.hxx>

Public Member Functions

 BRepClass_FClass2dOfFClassifier ()
 Creates an undefined classifier.
 
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>.
 
void Compare (const BRepClass_Edge &E, const TopAbs_Orientation Or)
 Updates the classification process with the edge <E> from the boundary.
 
Standard_Real Parameter () const
 Returns the current value of the parameter.
 
BRepClass_IntersectorIntersector ()
 Returns the intersecting algorithm.
 
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.
 
TopAbs_State State () const
 Returns the current state of the point.
 
Standard_Boolean IsHeadOrEnd () const
 Returns the Standard_True if the closest intersection point represents head or end of the edge. Returns Standard_False otherwise.
 

Constructor & Destructor Documentation

◆ BRepClass_FClass2dOfFClassifier()

BRepClass_FClass2dOfFClassifier::BRepClass_FClass2dOfFClassifier ( )

Creates an undefined classifier.

Member Function Documentation

◆ ClosestIntersection()

Standard_Integer BRepClass_FClass2dOfFClassifier::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 BRepClass_FClass2dOfFClassifier::Compare ( const BRepClass_Edge & E,
const TopAbs_Orientation Or )

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

◆ Intersector()

BRepClass_Intersector & BRepClass_FClass2dOfFClassifier::Intersector ( )

Returns the intersecting algorithm.

◆ IsHeadOrEnd()

Standard_Boolean BRepClass_FClass2dOfFClassifier::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 BRepClass_FClass2dOfFClassifier::Parameter ( ) const

Returns the current value of the parameter.

◆ Reset()

void BRepClass_FClass2dOfFClassifier::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 BRepClass_FClass2dOfFClassifier::State ( ) const

Returns the current state of the point.


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