Open CASCADE Technology  7.0.0
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. 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_POnSurfPoint () const
 Returns the point of the extremum distance. More...
 

Detailed Description

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

Constructor & Destructor Documentation

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.

Member Function Documentation

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.


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