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
    ProjLib_PrjResolve Class Reference

    #include <ProjLib_PrjResolve.hxx>

    Public Member Functions

     ProjLib_PrjResolve (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const int Fix)
    void Perform (const double tt, const double U, const double V, const gp_Pnt2d &Tol, const gp_Pnt2d &Inf, const gp_Pnt2d &Sup, const double FTol=-1, const bool StrictInside=false)
     Calculates the ort from C(t) to S with a close point. The close point is defined by the parameter values U0 and V0. The function F(u,v)=distance(S(u,v),C(t)) has an extremum when gradient(F)=0. The algorithm searches a zero near the close point.
    bool IsDone () const
     Returns True if the distance is found.
    gp_Pnt2d Solution () const
     Returns the point of the extremum distance.

    Constructor & Destructor Documentation

    ◆ ProjLib_PrjResolve()

    ProjLib_PrjResolve::ProjLib_PrjResolve ( const Adaptor3d_Curve & C,
    const Adaptor3d_Surface & S,
    const int Fix )

    Member Function Documentation

    ◆ IsDone()

    bool ProjLib_PrjResolve::IsDone ( ) const

    Returns True if the distance is found.

    ◆ Perform()

    void ProjLib_PrjResolve::Perform ( const double t,
    const double U,
    const double V,
    const gp_Pnt2d & Tol,
    const gp_Pnt2d & Inf,
    const gp_Pnt2d & Sup,
    const double FTol = -1,
    const bool StrictInside = false )

    Calculates the ort from C(t) to S with a close point. The close point is defined by the parameter values U0 and V0. The function F(u,v)=distance(S(u,v),C(t)) has an extremum when gradient(F)=0. The algorithm searches a zero near the close point.

    ◆ Solution()

    gp_Pnt2d ProjLib_PrjResolve::Solution ( ) const

    Returns the point of the extremum distance.


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