Open CASCADE Technology  7.6.0
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 searches 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() [1/2]

Extrema_GenLocateExtCS::Extrema_GenLocateExtCS ( )

◆ Extrema_GenLocateExtCS() [2/2]

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 searches a zero near the close points.

Member Function Documentation

◆ IsDone()

Standard_Boolean Extrema_GenLocateExtCS::IsDone ( ) const

Returns True if the distance is found.

◆ Perform()

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 
)

◆ PointOnCurve()

const Extrema_POnCurv& Extrema_GenLocateExtCS::PointOnCurve ( ) const

Returns the point of the extremum distance on C.

◆ PointOnSurface()

const Extrema_POnSurf& Extrema_GenLocateExtCS::PointOnSurface ( ) const

Returns the point of the extremum distance on S.

◆ SquareDistance()

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: