Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Extrema_GenLocateExtPS Class Reference

With a close point, it calculates the distance
between a point and a surface.
This distance can be a minimum or a maximum.

#include <Extrema_GenLocateExtPS.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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 IsDone () const
 Returns True if the distance is found.

Standard_Real SquareDistance () const
 Returns the value of the extremum square distance.

Extrema_POnSurf Point () const
 Returns the point of the extremum distance.


Constructor & Destructor Documentation


Member Function Documentation


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