Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
Extrema_ExtSS Class Reference

It calculates all the extremum distances between two surfaces. These distances can be minimum or maximum. More...

#include <Extrema_ExtSS.hxx>

Public Member Functions

 Extrema_ExtSS ()
 Extrema_ExtSS (const Adaptor3d_Surface &S1, const Adaptor3d_Surface &S2, const double TolS1, const double TolS2)
 It calculates all the distances between S1 and S2.
 Extrema_ExtSS (const Adaptor3d_Surface &S1, const Adaptor3d_Surface &S2, const double Uinf1, const double Usup1, const double Vinf1, const double Vsup1, const double Uinf2, const double Usup2, const double Vinf2, const double Vsup2, const double TolS1, const double TolS2)
 It calculates all the distances between S1 and S2.
void Initialize (const Adaptor3d_Surface &S2, const double Uinf2, const double Usup2, const double Vinf2, const double Vsup2, const double TolS1)
 Initializes the fields of the algorithm.
void Perform (const Adaptor3d_Surface &S1, const double Uinf1, const double Usup1, const double Vinf1, const double Vsup1, const double TolS1)
 Computes the distances. An exception is raised if the fields have not been initialized.
bool IsDone () const
 Returns True if the distances are found.
bool IsParallel () const
 Returns True if the surfaces are parallel.
int NbExt () const
 Returns the number of extremum distances.
double SquareDistance (const int N) const
 Returns the value of the Nth resulting square distance.
void Points (const int N, Extrema_POnSurf &P1, Extrema_POnSurf &P2) const
 Returns the point pair of the Nth extremum distance. Parallel results have a distance but no point pair.

Detailed Description

It calculates all the extremum distances between two surfaces. These distances can be minimum or maximum.

Constructor & Destructor Documentation

◆ Extrema_ExtSS() [1/3]

Extrema_ExtSS::Extrema_ExtSS ( )

◆ Extrema_ExtSS() [2/3]

Extrema_ExtSS::Extrema_ExtSS ( const Adaptor3d_Surface & S1,
const Adaptor3d_Surface & S2,
const double TolS1,
const double TolS2 )

It calculates all the distances between S1 and S2.

◆ Extrema_ExtSS() [3/3]

Extrema_ExtSS::Extrema_ExtSS ( const Adaptor3d_Surface & S1,
const Adaptor3d_Surface & S2,
const double Uinf1,
const double Usup1,
const double Vinf1,
const double Vsup1,
const double Uinf2,
const double Usup2,
const double Vinf2,
const double Vsup2,
const double TolS1,
const double TolS2 )

It calculates all the distances between S1 and S2.

Member Function Documentation

◆ Initialize()

void Extrema_ExtSS::Initialize ( const Adaptor3d_Surface & S2,
const double Uinf2,
const double Usup2,
const double Vinf2,
const double Vsup2,
const double TolS1 )

Initializes the fields of the algorithm.

◆ IsDone()

bool Extrema_ExtSS::IsDone ( ) const

Returns True if the distances are found.

◆ IsParallel()

bool Extrema_ExtSS::IsParallel ( ) const

Returns True if the surfaces are parallel.

◆ NbExt()

int Extrema_ExtSS::NbExt ( ) const

Returns the number of extremum distances.

◆ Perform()

void Extrema_ExtSS::Perform ( const Adaptor3d_Surface & S1,
const double Uinf1,
const double Usup1,
const double Vinf1,
const double Vsup1,
const double TolS1 )

Computes the distances. An exception is raised if the fields have not been initialized.

◆ Points()

void Extrema_ExtSS::Points ( const int N,
Extrema_POnSurf & P1,
Extrema_POnSurf & P2 ) const

Returns the point pair of the Nth extremum distance. Parallel results have a distance but no point pair.

Parameters
[in]None-based index of the point pair
[out]P1point on the first surface
[out]P2point on the second surface
Exceptions
StdFail_NotDoneif the computation is not done
Standard_OutOfRangeif N is outside the point range, including parallel results

◆ SquareDistance()

double Extrema_ExtSS::SquareDistance ( const int N) const

Returns the value of the Nth resulting square distance.


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