OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKTopAlgo
BRepClass3d


BRepClass3d_SClassifier Class Reference

Provides an algorithm to classify a point in a solid.
.

#include <BRepClass3d_SClassifier.hxx>

Inheritance diagram for BRepClass3d_SClassifier:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT BRepClass3d_SClassifier ()
 Empty constructor.
.
Standard_EXPORT BRepClass3d_SClassifier (BRepClass3d_SolidExplorer &S, const gp_Pnt &P, const Standard_Real Tol)
 Constructor to classify the point P with the
tolerance Tol on the solid S.
.
Standard_EXPORT void Perform (BRepClass3d_SolidExplorer &S, const gp_Pnt &P, const Standard_Real Tol)
 Classify the point P with the
tolerance Tol on the solid S.

.
Standard_EXPORT void PerformInfinitePoint (BRepClass3d_SolidExplorer &S, const Standard_Real Tol)
 Classify an infinite point with the
tolerance Tol on the solid S.
.
Standard_EXPORT Standard_Boolean Rejected () const
 Returns True if the classification has been
computed by rejection.
The State is then OUT.
.
Standard_EXPORT TopAbs_State State () const
 Returns the result of the classification.
.
Standard_EXPORT Standard_Boolean IsOnAFace () const
 Returns True when the point is a point of a face.
.
Standard_EXPORT TopoDS_Face Face () const
 Returns the face used to determine the
classification. When the state is ON, this is the
face containing the point.

When Rejected() returns True, Face() has no signification.
.

Protected Member Functions

Standard_EXPORT void ForceIn ()
Standard_EXPORT void ForceOut ()

Private Attributes

TopoDS_Face myFace
Standard_Integer myState

Constructor & Destructor Documentation

Standard_EXPORT BRepClass3d_SClassifier::BRepClass3d_SClassifier  ) 
 

Standard_EXPORT BRepClass3d_SClassifier::BRepClass3d_SClassifier BRepClass3d_SolidExplorer S,
const gp_Pnt &  P,
const Standard_Real  Tol
 


Member Function Documentation

Standard_EXPORT TopoDS_Face BRepClass3d_SClassifier::Face  )  const
 

Standard_EXPORT void BRepClass3d_SClassifier::ForceIn  )  [protected]
 

Standard_EXPORT void BRepClass3d_SClassifier::ForceOut  )  [protected]
 

Standard_EXPORT Standard_Boolean BRepClass3d_SClassifier::IsOnAFace  )  const
 

void BRepClass3d_SClassifier::operator delete void *  anAddress  )  [inline]
 

Reimplemented in BRepClass3d_SolidClassifier.

void* BRepClass3d_SClassifier::operator new size_t  size  )  [inline]
 

Reimplemented in BRepClass3d_SolidClassifier.

void* BRepClass3d_SClassifier::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented in BRepClass3d_SolidClassifier.

Standard_EXPORT void BRepClass3d_SClassifier::Perform BRepClass3d_SolidExplorer S,
const gp_Pnt &  P,
const Standard_Real  Tol
 

Standard_EXPORT void BRepClass3d_SClassifier::PerformInfinitePoint BRepClass3d_SolidExplorer S,
const Standard_Real  Tol
 

Standard_EXPORT Standard_Boolean BRepClass3d_SClassifier::Rejected  )  const
 

Standard_EXPORT TopAbs_State BRepClass3d_SClassifier::State  )  const
 


Field Documentation

TopoDS_Face BRepClass3d_SClassifier::myFace [private]
 

Standard_Integer BRepClass3d_SClassifier::myState [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:09 2008 for OpenCASCADE by  doxygen 1.4.1