Open CASCADE Technology  7.7.0
Public Member Functions
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 Standard_Real TolS1, const Standard_Real TolS2)
 It calculates all the distances between S1 and S2. More...
 
 Extrema_ExtSS (const Adaptor3d_Surface &S1, const Adaptor3d_Surface &S2, const Standard_Real Uinf1, const Standard_Real Usup1, const Standard_Real Vinf1, const Standard_Real Vsup1, const Standard_Real Uinf2, const Standard_Real Usup2, const Standard_Real Vinf2, const Standard_Real Vsup2, const Standard_Real TolS1, const Standard_Real TolS2)
 It calculates all the distances between S1 and S2. More...
 
void Initialize (const Adaptor3d_Surface &S2, const Standard_Real Uinf2, const Standard_Real Usup2, const Standard_Real Vinf2, const Standard_Real Vsup2, const Standard_Real TolS1)
 Initializes the fields of the algorithm. More...
 
void Perform (const Adaptor3d_Surface &S1, const Standard_Real Uinf1, const Standard_Real Usup1, const Standard_Real Vinf1, const Standard_Real Vsup1, const Standard_Real TolS1)
 Computes the distances. An exception is raised if the fieds have not been initialized. More...
 
Standard_Boolean IsDone () const
 Returns True if the distances are found. More...
 
Standard_Boolean IsParallel () const
 Returns True if the surfaces are parallel. More...
 
Standard_Integer NbExt () const
 Returns the number of extremum distances. More...
 
Standard_Real SquareDistance (const Standard_Integer N) const
 Returns the value of the Nth resulting square distance. More...
 
void Points (const Standard_Integer N, Extrema_POnSurf &P1, Extrema_POnSurf &P2) const
 Returns the point of the Nth resulting distance. More...
 

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 Standard_Real  TolS1,
const Standard_Real  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 Standard_Real  Uinf1,
const Standard_Real  Usup1,
const Standard_Real  Vinf1,
const Standard_Real  Vsup1,
const Standard_Real  Uinf2,
const Standard_Real  Usup2,
const Standard_Real  Vinf2,
const Standard_Real  Vsup2,
const Standard_Real  TolS1,
const Standard_Real  TolS2 
)

It calculates all the distances between S1 and S2.

Member Function Documentation

◆ Initialize()

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

Initializes the fields of the algorithm.

◆ IsDone()

Standard_Boolean Extrema_ExtSS::IsDone ( ) const

Returns True if the distances are found.

◆ IsParallel()

Standard_Boolean Extrema_ExtSS::IsParallel ( ) const

Returns True if the surfaces are parallel.

◆ NbExt()

Standard_Integer Extrema_ExtSS::NbExt ( ) const

Returns the number of extremum distances.

◆ Perform()

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

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

◆ Points()

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

Returns the point of the Nth resulting distance.

◆ SquareDistance()

Standard_Real Extrema_ExtSS::SquareDistance ( const Standard_Integer  N) const

Returns the value of the Nth resulting square distance.


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