Open CASCADE Technology  7.3.0
Public Member Functions
ProjLib_PrjResolve Class Reference

#include <ProjLib_PrjResolve.hxx>

Public Member Functions

 ProjLib_PrjResolve (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const Standard_Integer Fix)
 
void Perform (const Standard_Real t, const Standard_Real U, const Standard_Real V, const gp_Pnt2d &Tol, const gp_Pnt2d &Inf, const gp_Pnt2d &Sup, const Standard_Real FTol=-1, const Standard_Boolean StrictInside=Standard_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 searchs a zero near the close point. More...
 
Standard_Boolean IsDone () const
 Returns True if the distance is found. More...
 
gp_Pnt2d Solution () const
 Returns the point of the extremum distance. More...
 

Constructor & Destructor Documentation

◆ ProjLib_PrjResolve()

ProjLib_PrjResolve::ProjLib_PrjResolve ( const Adaptor3d_Curve C,
const Adaptor3d_Surface S,
const Standard_Integer  Fix 
)

Member Function Documentation

◆ IsDone()

Standard_Boolean ProjLib_PrjResolve::IsDone ( ) const

Returns True if the distance is found.

◆ Perform()

void ProjLib_PrjResolve::Perform ( const Standard_Real  t,
const Standard_Real  U,
const Standard_Real  V,
const gp_Pnt2d Tol,
const gp_Pnt2d Inf,
const gp_Pnt2d Sup,
const Standard_Real  FTol = -1,
const Standard_Boolean  StrictInside = Standard_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 searchs 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: