Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes
Geom2dHatch_Classifier Class Reference

#include <Geom2dHatch_Classifier.hxx>

Public Member Functions

 Geom2dHatch_Classifier ()
 Empty constructor, undefined algorithm.
 
 Geom2dHatch_Classifier (Geom2dHatch_Elements &F, const gp_Pnt2d &P, const double Tol)
 Creates an algorithm to classify the Point P with Tolerance <T> on the face described by <F>.
 
void Perform (Geom2dHatch_Elements &F, const gp_Pnt2d &P, const double Tol)
 Classify the Point P with Tolerance <T> on the face described by <F>.
 
TopAbs_State State () const
 Returns the result of the classification.
 
bool Rejected () const
 Returns True when the state was computed by a rejection. The state is OUT.
 
bool NoWires () const
 Returns True if the face contains no wire. The state is IN.
 
const Geom2dAdaptor_CurveEdge () const
 Returns the Edge used to determine the classification. When the State is ON this is the Edge containing the point.
 
double EdgeParameter () const
 Returns the parameter on Edge() used to determine the classification.
 
IntRes2d_Position Position () const
 Returns the position of the point on the edge returned by Edge.
 

Protected Attributes

Geom2dHatch_FClass2dOfClassifier myClassifier
 
Geom2dAdaptor_Curve myEdge
 
double myEdgeParameter
 
IntRes2d_Position myPosition
 
bool rejected
 
bool 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 double 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()

double Geom2dHatch_Classifier::EdgeParameter ( ) const

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

◆ NoWires()

bool Geom2dHatch_Classifier::NoWires ( ) const
inline

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 double Tol )

Classify the Point P with Tolerance <T> on the face described by <F>.

◆ Position()

IntRes2d_Position Geom2dHatch_Classifier::Position ( ) const
inline

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

◆ Rejected()

bool Geom2dHatch_Classifier::Rejected ( ) const
inline

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

double Geom2dHatch_Classifier::myEdgeParameter
protected

◆ myPosition

IntRes2d_Position Geom2dHatch_Classifier::myPosition
protected

◆ nowires

bool Geom2dHatch_Classifier::nowires
protected

◆ rejected

bool Geom2dHatch_Classifier::rejected
protected

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