OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Extrema_ExtElCS Class Reference

    It calculates all the distances between a curve and a surface. These distances can be maximum or minimum. More...

    #include <Extrema_ExtElCS.hxx>

    Public Member Functions

     Extrema_ExtElCS ()
     Extrema_ExtElCS (const gp_Lin &C, const gp_Pln &S)
     Calculates the distances between a line and a plane. The line can be on the plane or on a parallel plane.
    void Perform (const gp_Lin &C, const gp_Pln &S)
     Extrema_ExtElCS (const gp_Lin &C, const gp_Cylinder &S)
     Calculates the distances between a line and a cylinder.
    void Perform (const gp_Lin &C, const gp_Cylinder &S)
     Extrema_ExtElCS (const gp_Lin &C, const gp_Cone &S)
     Calculates the distances between a line and a cone.
    void Perform (const gp_Lin &C, const gp_Cone &S)
     Extrema_ExtElCS (const gp_Lin &C, const gp_Sphere &S)
     Calculates the distances between a line and a sphere.
    void Perform (const gp_Lin &C, const gp_Sphere &S)
     Extrema_ExtElCS (const gp_Lin &C, const gp_Torus &S)
     Calculates the distances between a line and a torus.
    void Perform (const gp_Lin &C, const gp_Torus &S)
     Extrema_ExtElCS (const gp_Circ &C, const gp_Pln &S)
     Calculates the distances between a circle and a plane.
    void Perform (const gp_Circ &C, const gp_Pln &S)
     Extrema_ExtElCS (const gp_Circ &C, const gp_Cylinder &S)
     Calculates the distances between a circle and a cylinder.
    void Perform (const gp_Circ &C, const gp_Cylinder &S)
     Extrema_ExtElCS (const gp_Circ &C, const gp_Cone &S)
     Calculates the distances between a circle and a cone.
    void Perform (const gp_Circ &C, const gp_Cone &S)
     Extrema_ExtElCS (const gp_Circ &C, const gp_Sphere &S)
     Calculates the distances between a circle and a sphere.
    void Perform (const gp_Circ &C, const gp_Sphere &S)
     Extrema_ExtElCS (const gp_Circ &C, const gp_Torus &S)
     Calculates the distances between a circle and a torus.
    void Perform (const gp_Circ &C, const gp_Torus &S)
     Extrema_ExtElCS (const gp_Hypr &C, const gp_Pln &S)
     Calculates the distances between a hyperbola and a plane.
    void Perform (const gp_Hypr &C, const gp_Pln &S)
    bool IsDone () const
     Returns True if the distances are found.
    bool IsParallel () const
     Returns True if the curve is on a parallel surface.
    int NbExt () const
     Returns the number of extremum distances.
    double SquareDistance (const int N=1) const
     Returns the value of the Nth extremum square distance.
    void Points (const int N, Extrema_POnCurv &P1, Extrema_POnSurf &P2) const
     Returns the points of the Nth extremum distance. P1 is on the curve, P2 on the surface.

    Detailed Description

    It calculates all the distances between a curve and a surface. These distances can be maximum or minimum.

    Constructor & Destructor Documentation

    ◆ Extrema_ExtElCS() [1/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( )

    ◆ Extrema_ExtElCS() [2/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin & C,
    const gp_Pln & S )

    Calculates the distances between a line and a plane. The line can be on the plane or on a parallel plane.

    ◆ Extrema_ExtElCS() [3/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin & C,
    const gp_Cylinder & S )

    Calculates the distances between a line and a cylinder.

    ◆ Extrema_ExtElCS() [4/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin & C,
    const gp_Cone & S )

    Calculates the distances between a line and a cone.

    ◆ Extrema_ExtElCS() [5/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin & C,
    const gp_Sphere & S )

    Calculates the distances between a line and a sphere.

    ◆ Extrema_ExtElCS() [6/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin & C,
    const gp_Torus & S )

    Calculates the distances between a line and a torus.

    ◆ Extrema_ExtElCS() [7/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ & C,
    const gp_Pln & S )

    Calculates the distances between a circle and a plane.

    ◆ Extrema_ExtElCS() [8/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ & C,
    const gp_Cylinder & S )

    Calculates the distances between a circle and a cylinder.

    ◆ Extrema_ExtElCS() [9/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ & C,
    const gp_Cone & S )

    Calculates the distances between a circle and a cone.

    ◆ Extrema_ExtElCS() [10/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ & C,
    const gp_Sphere & S )

    Calculates the distances between a circle and a sphere.

    ◆ Extrema_ExtElCS() [11/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ & C,
    const gp_Torus & S )

    Calculates the distances between a circle and a torus.

    ◆ Extrema_ExtElCS() [12/12]

    Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Hypr & C,
    const gp_Pln & S )

    Calculates the distances between a hyperbola and a plane.

    Member Function Documentation

    ◆ IsDone()

    bool Extrema_ExtElCS::IsDone ( ) const

    Returns True if the distances are found.

    ◆ IsParallel()

    bool Extrema_ExtElCS::IsParallel ( ) const

    Returns True if the curve is on a parallel surface.

    ◆ NbExt()

    int Extrema_ExtElCS::NbExt ( ) const

    Returns the number of extremum distances.

    ◆ Perform() [1/11]

    void Extrema_ExtElCS::Perform ( const gp_Circ & C,
    const gp_Cone & S )

    ◆ Perform() [2/11]

    void Extrema_ExtElCS::Perform ( const gp_Circ & C,
    const gp_Cylinder & S )

    ◆ Perform() [3/11]

    void Extrema_ExtElCS::Perform ( const gp_Circ & C,
    const gp_Pln & S )

    ◆ Perform() [4/11]

    void Extrema_ExtElCS::Perform ( const gp_Circ & C,
    const gp_Sphere & S )

    ◆ Perform() [5/11]

    void Extrema_ExtElCS::Perform ( const gp_Circ & C,
    const gp_Torus & S )

    ◆ Perform() [6/11]

    void Extrema_ExtElCS::Perform ( const gp_Hypr & C,
    const gp_Pln & S )

    ◆ Perform() [7/11]

    void Extrema_ExtElCS::Perform ( const gp_Lin & C,
    const gp_Cone & S )

    ◆ Perform() [8/11]

    void Extrema_ExtElCS::Perform ( const gp_Lin & C,
    const gp_Cylinder & S )

    ◆ Perform() [9/11]

    void Extrema_ExtElCS::Perform ( const gp_Lin & C,
    const gp_Pln & S )

    ◆ Perform() [10/11]

    void Extrema_ExtElCS::Perform ( const gp_Lin & C,
    const gp_Sphere & S )

    ◆ Perform() [11/11]

    void Extrema_ExtElCS::Perform ( const gp_Lin & C,
    const gp_Torus & S )

    ◆ Points()

    void Extrema_ExtElCS::Points ( const int N,
    Extrema_POnCurv & P1,
    Extrema_POnSurf & P2 ) const

    Returns the points of the Nth extremum distance. P1 is on the curve, P2 on the surface.

    ◆ SquareDistance()

    double Extrema_ExtElCS::SquareDistance ( const int N = 1) const

    Returns the value of the Nth extremum square distance.


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