OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepClass3d_SClassifier Class Reference

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

    #include <BRepClass3d_SClassifier.hxx>

    Inheritance diagram for BRepClass3d_SClassifier:

    Public Member Functions

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

    Protected Member Functions

    void ForceIn ()
    void ForceOut ()

    Detailed Description

    Provides an algorithm to classify a point in a solid.

    Constructor & Destructor Documentation

    ◆ BRepClass3d_SClassifier() [1/2]

    BRepClass3d_SClassifier::BRepClass3d_SClassifier ( )

    Empty constructor.

    ◆ BRepClass3d_SClassifier() [2/2]

    BRepClass3d_SClassifier::BRepClass3d_SClassifier ( BRepClass3d_SolidExplorer & S,
    const gp_Pnt & P,
    const double Tol )

    Constructor to classify the point P with the tolerance Tol on the solid S.

    Member Function Documentation

    ◆ Face()

    TopoDS_Face BRepClass3d_SClassifier::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.

    ◆ ForceIn()

    void BRepClass3d_SClassifier::ForceIn ( )
    protected

    ◆ ForceOut()

    void BRepClass3d_SClassifier::ForceOut ( )
    protected

    ◆ IsOnAFace()

    bool BRepClass3d_SClassifier::IsOnAFace ( ) const

    Returns True when the point is a point of a face.

    ◆ Perform()

    void BRepClass3d_SClassifier::Perform ( BRepClass3d_SolidExplorer & S,
    const gp_Pnt & P,
    const double Tol )

    Classify the point P with the tolerance Tol on the solid S.

    ◆ PerformInfinitePoint()

    void BRepClass3d_SClassifier::PerformInfinitePoint ( BRepClass3d_SolidExplorer & S,
    const double Tol )

    Classify an infinite point with the tolerance Tol on the solid S.

    ◆ Rejected()

    bool BRepClass3d_SClassifier::Rejected ( ) const

    Returns True if the classification has been computed by rejection. The State is then OUT.

    ◆ State()

    TopAbs_State BRepClass3d_SClassifier::State ( ) const

    Returns the result of the classification.


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