|
Open CASCADE Technology
6.5.4
|
#include <ProjLib_PrjResolve.hxx>
Public Member Functions | |
| DEFINE_STANDARD_ALLOC | 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. | |
| Standard_Boolean | IsDone () const |
| Returns True if the distance is found. | |
| gp_Pnt2d | Solution () const |
| Returns the point of the extremum distance. | |
| DEFINE_STANDARD_ALLOC ProjLib_PrjResolve::ProjLib_PrjResolve | ( | const Adaptor3d_Curve & | C, |
| const Adaptor3d_Surface & | S, | ||
| const Standard_Integer | Fix | ||
| ) |
| Standard_Boolean ProjLib_PrjResolve::IsDone | ( | ) | const |
| 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 |
||
| ) |
| gp_Pnt2d ProjLib_PrjResolve::Solution | ( | ) | const |
1.8.0