Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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 double T, const double U, const double V, const double Tol1, const double 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.
 
void Perform (const Adaptor3d_Curve &C, const Adaptor3d_Surface &S, const double T, const double U, const double V, const double Tol1, const double Tol2)
 
bool IsDone () const
 Returns True if the distance is found.
 
double SquareDistance () const
 Returns the value of the extremum square distance.
 
const Extrema_POnCurvPointOnCurve () const
 Returns the point of the extremum distance on C.
 
const Extrema_POnSurfPointOnSurface () const
 Returns the point of the extremum distance on S.
 

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 double T,
const double U,
const double V,
const double Tol1,
const double 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()

bool 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 double T,
const double U,
const double V,
const double Tol1,
const double 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()

double Extrema_GenLocateExtCS::SquareDistance ( ) const

Returns the value of the extremum square distance.


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