Open CASCADE Technology  7.7.0.dev
Public Member Functions

BRepClass_FaceClassifier Class Reference

Provides Constructors with a Face. More...

#include <BRepClass_FaceClassifier.hxx>

Inheritance diagram for BRepClass_FaceClassifier:
Inheritance graph
[legend]

Public Member Functions

 BRepClass_FaceClassifier ()
 Empty constructor, undefined algorithm. More...
 
 BRepClass_FaceClassifier (BRepClass_FaceExplorer &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...
 
 BRepClass_FaceClassifier (const TopoDS_Face &theF, const gp_Pnt2d &theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox=Standard_False, const Standard_Real theGapCheckTol=0.1)
 Creates an algorithm to classify the Point P with Tolerance <T> on the face <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. More...
 
void Perform (const TopoDS_Face &theF, const gp_Pnt2d &theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox=Standard_False, const Standard_Real theGapCheckTol=0.1)
 Classify the Point P with Tolerance <T> on the face described by <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. More...
 
 BRepClass_FaceClassifier (const TopoDS_Face &theF, const gp_Pnt &theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox=Standard_False, const Standard_Real theGapCheckTol=0.1)
 Creates an algorithm to classify the Point P with Tolerance <T> on the face <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. More...
 
void Perform (const TopoDS_Face &theF, const gp_Pnt &theP, const Standard_Real theTol, const Standard_Boolean theUseBndBox=Standard_False, const Standard_Real theGapCheckTol=0.1)
 Classify the Point P with Tolerance <T> on the face described by <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline. More...
 
- Public Member Functions inherited from BRepClass_FClassifier
 BRepClass_FClassifier ()
 Empty constructor, undefined algorithm. More...
 
 BRepClass_FClassifier (BRepClass_FaceExplorer &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 (BRepClass_FaceExplorer &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 BRepClass_EdgeEdge () 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...
 

Additional Inherited Members

- Protected Attributes inherited from BRepClass_FClassifier
BRepClass_FClass2dOfFClassifier myClassifier
 
BRepClass_Edge myEdge
 
Standard_Real myEdgeParameter
 
IntRes2d_Position myPosition
 
Standard_Boolean rejected
 
Standard_Boolean nowires
 

Detailed Description

Provides Constructors with a Face.

Constructor & Destructor Documentation

◆ BRepClass_FaceClassifier() [1/4]

BRepClass_FaceClassifier::BRepClass_FaceClassifier ( )

Empty constructor, undefined algorithm.

◆ BRepClass_FaceClassifier() [2/4]

BRepClass_FaceClassifier::BRepClass_FaceClassifier ( BRepClass_FaceExplorer 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>.

◆ BRepClass_FaceClassifier() [3/4]

BRepClass_FaceClassifier::BRepClass_FaceClassifier ( const TopoDS_Face theF,
const gp_Pnt2d theP,
const Standard_Real  theTol,
const Standard_Boolean  theUseBndBox = Standard_False,
const Standard_Real  theGapCheckTol = 0.1 
)

Creates an algorithm to classify the Point P with Tolerance <T> on the face <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline.

◆ BRepClass_FaceClassifier() [4/4]

BRepClass_FaceClassifier::BRepClass_FaceClassifier ( const TopoDS_Face theF,
const gp_Pnt theP,
const Standard_Real  theTol,
const Standard_Boolean  theUseBndBox = Standard_False,
const Standard_Real  theGapCheckTol = 0.1 
)

Creates an algorithm to classify the Point P with Tolerance <T> on the face <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline.

Member Function Documentation

◆ Perform() [1/2]

void BRepClass_FaceClassifier::Perform ( const TopoDS_Face theF,
const gp_Pnt theP,
const Standard_Real  theTol,
const Standard_Boolean  theUseBndBox = Standard_False,
const Standard_Real  theGapCheckTol = 0.1 
)

Classify the Point P with Tolerance <T> on the face described by <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline.

◆ Perform() [2/2]

void BRepClass_FaceClassifier::Perform ( const TopoDS_Face theF,
const gp_Pnt2d theP,
const Standard_Real  theTol,
const Standard_Boolean  theUseBndBox = Standard_False,
const Standard_Real  theGapCheckTol = 0.1 
)

Classify the Point P with Tolerance <T> on the face described by <F>. Recommended to use Bnd_Box if the number of edges > 10 and the geometry is mostly spline.


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