Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
Extrema_LocateExtCC Class Reference

It calculates the distance between two curves with a close point; these distances can be maximum or minimum. More...

#include <Extrema_LocateExtCC.hxx>

Public Member Functions

 Extrema_LocateExtCC (const Adaptor3d_Curve &C1, const Adaptor3d_Curve &C2, const double U0, const double V0)
 Calculates the distance with a close point. The close point is defined by a parameter value on each curve. The function F(u,v)=distance(C1(u),C2(v)) has an extremun when gradient(f)=0. The algorithm searches the zero near the close point.
 
bool IsDone () const
 Returns True if the distance is found.
 
double SquareDistance () const
 Returns the value of the extremum square distance.
 
void Point (Extrema_POnCurv &P1, Extrema_POnCurv &P2) const
 Returns the points of the extremum distance. P1 is on the first curve, P2 on the second one.
 

Detailed Description

It calculates the distance between two curves with a close point; these distances can be maximum or minimum.

Constructor & Destructor Documentation

◆ Extrema_LocateExtCC()

Extrema_LocateExtCC::Extrema_LocateExtCC ( const Adaptor3d_Curve & C1,
const Adaptor3d_Curve & C2,
const double U0,
const double V0 )

Calculates the distance with a close point. The close point is defined by a parameter value on each curve. The function F(u,v)=distance(C1(u),C2(v)) has an extremun when gradient(f)=0. The algorithm searches the zero near the close point.

Member Function Documentation

◆ IsDone()

bool Extrema_LocateExtCC::IsDone ( ) const

Returns True if the distance is found.

◆ Point()

void Extrema_LocateExtCC::Point ( Extrema_POnCurv & P1,
Extrema_POnCurv & P2 ) const

Returns the points of the extremum distance. P1 is on the first curve, P2 on the second one.

◆ SquareDistance()

double Extrema_LocateExtCC::SquareDistance ( ) const

Returns the value of the extremum square distance.


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