Open CASCADE Technology  7.2.0
Public Member Functions | Protected Attributes
Geom2dHatch_Classifier Class Reference

#include <Geom2dHatch_Classifier.hxx>

Public Member Functions

 Geom2dHatch_Classifier ()
 Empty constructor, undefined algorithm. More...
 
 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>. More...
 
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>. More...
 
TopAbs_State State () const
 Returns the result of the classification. More...
 
Standard_Boolean Rejected () const
 Returns True when the state was computed by a rejection. The state is OUT. More...
 
Standard_Boolean NoWires () const
 Returns True if the face contains no wire. The state is IN. More...
 
const Geom2dAdaptor_CurveEdge () const
 Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point. More...
 
Standard_Real EdgeParameter () const
 Returns the parameter on Edge() used to determine the classification. More...
 
IntRes2d_Position Position () const
 Returns the position of the point on the edge returned by Edge. More...
 

Protected Attributes

Geom2dHatch_FClass2dOfClassifier myClassifier
 
Geom2dAdaptor_Curve myEdge
 
Standard_Real myEdgeParameter
 
IntRes2d_Position myPosition
 
Standard_Boolean rejected
 
Standard_Boolean nowires
 

Constructor & Destructor Documentation

◆ Geom2dHatch_Classifier() [1/2]

Geom2dHatch_Classifier::Geom2dHatch_Classifier ( )

Empty constructor, undefined algorithm.

◆ Geom2dHatch_Classifier() [2/2]

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>.

Member Function Documentation

◆ Edge()

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.

◆ EdgeParameter()

Standard_Real Geom2dHatch_Classifier::EdgeParameter ( ) const

Returns the parameter on Edge() used to determine the classification.

◆ NoWires()

Standard_Boolean Geom2dHatch_Classifier::NoWires ( ) const

Returns True if the face contains no wire. The state is IN.

◆ Perform()

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>.

◆ Position()

IntRes2d_Position Geom2dHatch_Classifier::Position ( ) const

Returns the position of the point on the edge returned by Edge.

◆ Rejected()

Standard_Boolean Geom2dHatch_Classifier::Rejected ( ) const

Returns True when the state was computed by a rejection. The state is OUT.

◆ State()

TopAbs_State Geom2dHatch_Classifier::State ( ) const

Returns the result of the classification.

Field Documentation

◆ myClassifier

Geom2dHatch_FClass2dOfClassifier Geom2dHatch_Classifier::myClassifier
protected

◆ myEdge

Geom2dAdaptor_Curve Geom2dHatch_Classifier::myEdge
protected

◆ myEdgeParameter

Standard_Real Geom2dHatch_Classifier::myEdgeParameter
protected

◆ myPosition

IntRes2d_Position Geom2dHatch_Classifier::myPosition
protected

◆ nowires

Standard_Boolean Geom2dHatch_Classifier::nowires
protected

◆ rejected

Standard_Boolean Geom2dHatch_Classifier::rejected
protected

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