Open CASCADE Technology
6.9.1
|
With a close point, it calculates the distance between a point and a surface. This distance can be a minimum or a maximum. More...
#include <Extrema_GenLocateExtPS.hxx>
Public Member Functions | |
Extrema_GenLocateExtPS () | |
Extrema_GenLocateExtPS (const gp_Pnt &P, const Adaptor3d_Surface &S, const Standard_Real U0, const Standard_Real V0, const Standard_Real TolU, const Standard_Real TolV) | |
Calculates the distance 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),p) has an extremun 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... | |
Standard_Real | SquareDistance () const |
Returns the value of the extremum square distance. More... | |
const Extrema_POnSurf & | Point () const |
Returns the point of the extremum distance. More... | |
With a close point, it calculates the distance between a point and a surface. This distance can be a minimum or a maximum.
Extrema_GenLocateExtPS::Extrema_GenLocateExtPS | ( | ) |
Extrema_GenLocateExtPS::Extrema_GenLocateExtPS | ( | const gp_Pnt & | P, |
const Adaptor3d_Surface & | S, | ||
const Standard_Real | U0, | ||
const Standard_Real | V0, | ||
const Standard_Real | TolU, | ||
const Standard_Real | TolV | ||
) |
Calculates the distance 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),p) has an extremun when gradient(F)=0. The algorithm searchs a zero near the close point.
Standard_Boolean Extrema_GenLocateExtPS::IsDone | ( | ) | const |
Returns True if the distance is found.
const Extrema_POnSurf& Extrema_GenLocateExtPS::Point | ( | ) | const |
Returns the point of the extremum distance.
Standard_Real Extrema_GenLocateExtPS::SquareDistance | ( | ) | const |
Returns the value of the extremum square distance.