OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IntTools_BeanFaceIntersector Class Reference

    The class BeanFaceIntersector computes ranges of parameters on the curve of a bean(part of edge) that bound the parts of bean which are on the surface of a face according to edge and face tolerances. Warning: The real boundaries of the face are not taken into account, Most of the result parts of the bean lays only inside the region of the surface, which includes the inside of the face. And the parts which are out of this region can be excluded from the result. More...

    #include <IntTools_BeanFaceIntersector.hxx>

    Public Member Functions

     IntTools_BeanFaceIntersector ()
     IntTools_BeanFaceIntersector (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace)
     Initializes the algorithm.
     IntTools_BeanFaceIntersector (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const double theBeanTolerance, const double theFaceTolerance)
     Initializes the algorithm.
     IntTools_BeanFaceIntersector (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const double theFirstParOnCurve, const double theLastParOnCurve, const double theUMinParameter, const double theUMaxParameter, const double theVMinParameter, const double theVMaxParameter, const double theBeanTolerance, const double theFaceTolerance)
     Initializes the algorithm theUMinParameter, ... are used for optimization purposes.
    void Init (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace)
     Initializes the algorithm.
    void Init (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const double theBeanTolerance, const double theFaceTolerance)
     Initializes the algorithm.
    void Init (const BRepAdaptor_Curve &theCurve, const BRepAdaptor_Surface &theSurface, const double theFirstParOnCurve, const double theLastParOnCurve, const double theUMinParameter, const double theUMaxParameter, const double theVMinParameter, const double theVMaxParameter, const double theBeanTolerance, const double theFaceTolerance)
     Initializes the algorithm theUMinParameter, ... are used for optimization purposes.
    void SetContext (const occ::handle< IntTools_Context > &theContext)
     Sets the intersection context.
    const occ::handle< IntTools_Context > & Context () const
     Gets the intersection context.
    void SetBeanParameters (const double theFirstParOnCurve, const double theLastParOnCurve)
     Set restrictions for curve.
    void SetSurfaceParameters (const double theUMinParameter, const double theUMaxParameter, const double theVMinParameter, const double theVMaxParameter)
     Set restrictions for surface.
    void Perform ()
     Launches the algorithm.
    bool IsDone () const
     Returns Done/NotDone state of the algorithm.
    const NCollection_Sequence< IntTools_Range > & Result () const
    void Result (NCollection_Sequence< IntTools_Range > &theResults) const
    double MinimalSquareDistance () const
     Returns the minimal distance found between edge and face.

    Detailed Description

    The class BeanFaceIntersector computes ranges of parameters on the curve of a bean(part of edge) that bound the parts of bean which are on the surface of a face according to edge and face tolerances. Warning: The real boundaries of the face are not taken into account, Most of the result parts of the bean lays only inside the region of the surface, which includes the inside of the face. And the parts which are out of this region can be excluded from the result.

    Constructor & Destructor Documentation

    ◆ IntTools_BeanFaceIntersector() [1/4]

    IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( )

    ◆ IntTools_BeanFaceIntersector() [2/4]

    IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( const TopoDS_Edge & theEdge,
    const TopoDS_Face & theFace )

    Initializes the algorithm.

    Warning: The parts of the edge which are on the surface of the face and belong to the whole in the face (if there is) is considered as result

    ◆ IntTools_BeanFaceIntersector() [3/4]

    IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( const BRepAdaptor_Curve & theCurve,
    const BRepAdaptor_Surface & theSurface,
    const double theBeanTolerance,
    const double theFaceTolerance )

    Initializes the algorithm.

    ◆ IntTools_BeanFaceIntersector() [4/4]

    IntTools_BeanFaceIntersector::IntTools_BeanFaceIntersector ( const BRepAdaptor_Curve & theCurve,
    const BRepAdaptor_Surface & theSurface,
    const double theFirstParOnCurve,
    const double theLastParOnCurve,
    const double theUMinParameter,
    const double theUMaxParameter,
    const double theVMinParameter,
    const double theVMaxParameter,
    const double theBeanTolerance,
    const double theFaceTolerance )

    Initializes the algorithm theUMinParameter, ... are used for optimization purposes.

    Member Function Documentation

    ◆ Context()

    const occ::handle< IntTools_Context > & IntTools_BeanFaceIntersector::Context ( ) const

    Gets the intersection context.

    ◆ Init() [1/3]

    void IntTools_BeanFaceIntersector::Init ( const BRepAdaptor_Curve & theCurve,
    const BRepAdaptor_Surface & theSurface,
    const double theBeanTolerance,
    const double theFaceTolerance )

    Initializes the algorithm.

    ◆ Init() [2/3]

    void IntTools_BeanFaceIntersector::Init ( const BRepAdaptor_Curve & theCurve,
    const BRepAdaptor_Surface & theSurface,
    const double theFirstParOnCurve,
    const double theLastParOnCurve,
    const double theUMinParameter,
    const double theUMaxParameter,
    const double theVMinParameter,
    const double theVMaxParameter,
    const double theBeanTolerance,
    const double theFaceTolerance )

    Initializes the algorithm theUMinParameter, ... are used for optimization purposes.

    ◆ Init() [3/3]

    void IntTools_BeanFaceIntersector::Init ( const TopoDS_Edge & theEdge,
    const TopoDS_Face & theFace )

    Initializes the algorithm.

    Warning: The parts of the edge which are on the surface of the face and belong to the whole in the face (if there is) is considered as result

    ◆ IsDone()

    bool IntTools_BeanFaceIntersector::IsDone ( ) const
    inline

    Returns Done/NotDone state of the algorithm.

    ◆ MinimalSquareDistance()

    double IntTools_BeanFaceIntersector::MinimalSquareDistance ( ) const
    inline

    Returns the minimal distance found between edge and face.

    ◆ Perform()

    void IntTools_BeanFaceIntersector::Perform ( )

    Launches the algorithm.

    ◆ Result() [1/2]

    const NCollection_Sequence< IntTools_Range > & IntTools_BeanFaceIntersector::Result ( ) const

    ◆ Result() [2/2]

    void IntTools_BeanFaceIntersector::Result ( NCollection_Sequence< IntTools_Range > & theResults) const

    ◆ SetBeanParameters()

    void IntTools_BeanFaceIntersector::SetBeanParameters ( const double theFirstParOnCurve,
    const double theLastParOnCurve )

    Set restrictions for curve.

    ◆ SetContext()

    void IntTools_BeanFaceIntersector::SetContext ( const occ::handle< IntTools_Context > & theContext)

    Sets the intersection context.

    ◆ SetSurfaceParameters()

    void IntTools_BeanFaceIntersector::SetSurfaceParameters ( const double theUMinParameter,
    const double theUMaxParameter,
    const double theVMinParameter,
    const double theVMaxParameter )

    Set restrictions for surface.


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