Open CASCADE Technology  6.9.1
Public Member Functions
Extrema_GenLocateExtCS Class Reference

With two close points it calculates the distance between two surfaces. This distance can be a minimum or a maximum. More...

#include <Extrema_GenLocateExtCS.hxx>

Public Member Functions

 Extrema_GenLocateExtCS ()
 
 Extrema_GenLocateExtCS (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const Standard_Real T, const Standard_Real U, const Standard_Real V, const Standard_Real Tol1, const Standard_Real Tol2)
 Calculates the distance with two close points. The close points are defined by the parameter values T for C and (U,V) for S. The function F(t,u,v)=distance(C(t),S(u,v)) has an extremun when gradient(F)=0. The algorithm searchs a zero near the close points. More...
 
void Perform (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const Standard_Real T, const Standard_Real U, const Standard_Real V, const Standard_Real Tol1, const Standard_Real Tol2)
 
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_POnCurvPointOnCurve () const
 Returns the point of the extremum distance on C. More...
 
const Extrema_POnSurfPointOnSurface () const
 Returns the point of the extremum distance on S. More...
 

Detailed Description

With two close points it calculates the distance between two surfaces. This distance can be a minimum or a maximum.

Constructor & Destructor Documentation

Extrema_GenLocateExtCS::Extrema_GenLocateExtCS ( )
Extrema_GenLocateExtCS::Extrema_GenLocateExtCS ( const Adaptor3d_Curve C,
const Adaptor3d_Surface S,
const Standard_Real  T,
const Standard_Real  U,
const Standard_Real  V,
const Standard_Real  Tol1,
const Standard_Real  Tol2 
)

Calculates the distance with two close points. The close points are defined by the parameter values T for C and (U,V) for S. The function F(t,u,v)=distance(C(t),S(u,v)) has an extremun when gradient(F)=0. The algorithm searchs a zero near the close points.

Member Function Documentation

Standard_Boolean Extrema_GenLocateExtCS::IsDone ( ) const

Returns True if the distance is found.

void Extrema_GenLocateExtCS::Perform ( const Adaptor3d_Curve C,
const Adaptor3d_Surface S,
const Standard_Real  T,
const Standard_Real  U,
const Standard_Real  V,
const Standard_Real  Tol1,
const Standard_Real  Tol2 
)
const Extrema_POnCurv& Extrema_GenLocateExtCS::PointOnCurve ( ) const

Returns the point of the extremum distance on C.

const Extrema_POnSurf& Extrema_GenLocateExtCS::PointOnSurface ( ) const

Returns the point of the extremum distance on S.

Standard_Real Extrema_GenLocateExtCS::SquareDistance ( ) const

Returns the value of the extremum square distance.


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