Open CASCADE Technology  7.0.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::Geom2dHatch_Classifier ( )

Empty constructor, undefined algorithm.

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

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.

Standard_Real Geom2dHatch_Classifier::EdgeParameter ( ) const

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

Standard_Boolean Geom2dHatch_Classifier::NoWires ( ) const

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

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

IntRes2d_Position Geom2dHatch_Classifier::Position ( ) const

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

Standard_Boolean Geom2dHatch_Classifier::Rejected ( ) const

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

TopAbs_State Geom2dHatch_Classifier::State ( ) const

Returns the result of the classification.

Field Documentation

Geom2dHatch_FClass2dOfClassifier Geom2dHatch_Classifier::myClassifier
protected
Geom2dAdaptor_Curve Geom2dHatch_Classifier::myEdge
protected
Standard_Real Geom2dHatch_Classifier::myEdgeParameter
protected
IntRes2d_Position Geom2dHatch_Classifier::myPosition
protected
Standard_Boolean Geom2dHatch_Classifier::nowires
protected
Standard_Boolean Geom2dHatch_Classifier::rejected
protected

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