Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 
 BRepClass_FaceClassifier (BRepClass_FaceExplorer &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>.
 
 BRepClass_FaceClassifier (const TopoDS_Face &theF, const gp_Pnt2d &theP, const double theTol, const bool theUseBndBox=false, const double 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.
 
void Perform (const TopoDS_Face &theF, const gp_Pnt2d &theP, const double theTol, const bool theUseBndBox=false, const double 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.
 
 BRepClass_FaceClassifier (const TopoDS_Face &theF, const gp_Pnt &theP, const double theTol, const bool theUseBndBox=false, const double 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.
 
void Perform (const TopoDS_Face &theF, const gp_Pnt &theP, const double theTol, const bool theUseBndBox=false, const double 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.
 
- Public Member Functions inherited from BRepClass_FClassifier
 BRepClass_FClassifier ()
 Empty constructor, undefined algorithm.
 
 BRepClass_FClassifier (BRepClass_FaceExplorer &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 (BRepClass_FaceExplorer &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 BRepClass_EdgeEdge () 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.
 

Additional Inherited Members

- Protected Attributes inherited from BRepClass_FClassifier
BRepClass_FClass2dOfFClassifier myClassifier
 
BRepClass_Edge myEdge
 
double myEdgeParameter
 
IntRes2d_Position myPosition
 
bool rejected
 
bool 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 double 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 double theTol,
const bool theUseBndBox = false,
const double 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 double theTol,
const bool theUseBndBox = false,
const double 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 double theTol,
const bool theUseBndBox = false,
const double 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 double theTol,
const bool theUseBndBox = false,
const double 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: