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

It calculates all the distances between 2 elementary surfaces. These distances can be maximum or minimum. More...

#include <Extrema_ExtElSS.hxx>

Public Member Functions

 Extrema_ExtElSS ()
 
 Extrema_ExtElSS (const gp_Pln &S1, const gp_Pln &S2)
 Calculates the distances between 2 planes. These planes can be parallel.
 
void Perform (const gp_Pln &S1, const gp_Pln &S2)
 
 Extrema_ExtElSS (const gp_Pln &S1, const gp_Sphere &S2)
 Calculates the distances between a plane and a sphere.
 
void Perform (const gp_Pln &S1, const gp_Sphere &S2)
 
 Extrema_ExtElSS (const gp_Sphere &S1, const gp_Sphere &S2)
 Calculates the distances between 2 spheres. These spheres can be parallel.
 
void Perform (const gp_Sphere &S1, const gp_Sphere &S2)
 
 Extrema_ExtElSS (const gp_Sphere &S1, const gp_Cylinder &S2)
 Calculates the distances between a sphere and a cylinder.
 
void Perform (const gp_Sphere &S1, const gp_Cylinder &S2)
 
 Extrema_ExtElSS (const gp_Sphere &S1, const gp_Cone &S2)
 Calculates the distances between a sphere and a cone.
 
void Perform (const gp_Sphere &S1, const gp_Cone &S2)
 
 Extrema_ExtElSS (const gp_Sphere &S1, const gp_Torus &S2)
 Calculates the distances between a sphere and a torus.
 
void Perform (const gp_Sphere &S1, const gp_Torus &S2)
 
bool IsDone () const
 Returns True if the distances are found.
 
bool IsParallel () const
 Returns True if the two surfaces are parallel.
 
int NbExt () const
 Returns the number of extremum distances.
 
double SquareDistance (const int N=1) const
 Returns the value of the Nth extremum square distance.
 
void Points (const int N, Extrema_POnSurf &P1, Extrema_POnSurf &P2) const
 Returns the points for the Nth resulting distance. P1 is on the first surface, P2 on the second one.
 

Detailed Description

It calculates all the distances between 2 elementary surfaces. These distances can be maximum or minimum.

Constructor & Destructor Documentation

◆ Extrema_ExtElSS() [1/7]

Extrema_ExtElSS::Extrema_ExtElSS ( )

◆ Extrema_ExtElSS() [2/7]

Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Pln & S1,
const gp_Pln & S2 )

Calculates the distances between 2 planes. These planes can be parallel.

◆ Extrema_ExtElSS() [3/7]

Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Pln & S1,
const gp_Sphere & S2 )

Calculates the distances between a plane and a sphere.

◆ Extrema_ExtElSS() [4/7]

Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere & S1,
const gp_Sphere & S2 )

Calculates the distances between 2 spheres. These spheres can be parallel.

◆ Extrema_ExtElSS() [5/7]

Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere & S1,
const gp_Cylinder & S2 )

Calculates the distances between a sphere and a cylinder.

◆ Extrema_ExtElSS() [6/7]

Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere & S1,
const gp_Cone & S2 )

Calculates the distances between a sphere and a cone.

◆ Extrema_ExtElSS() [7/7]

Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere & S1,
const gp_Torus & S2 )

Calculates the distances between a sphere and a torus.

Member Function Documentation

◆ IsDone()

bool Extrema_ExtElSS::IsDone ( ) const

Returns True if the distances are found.

◆ IsParallel()

bool Extrema_ExtElSS::IsParallel ( ) const

Returns True if the two surfaces are parallel.

◆ NbExt()

int Extrema_ExtElSS::NbExt ( ) const

Returns the number of extremum distances.

◆ Perform() [1/6]

void Extrema_ExtElSS::Perform ( const gp_Pln & S1,
const gp_Pln & S2 )

◆ Perform() [2/6]

void Extrema_ExtElSS::Perform ( const gp_Pln & S1,
const gp_Sphere & S2 )

◆ Perform() [3/6]

void Extrema_ExtElSS::Perform ( const gp_Sphere & S1,
const gp_Cone & S2 )

◆ Perform() [4/6]

void Extrema_ExtElSS::Perform ( const gp_Sphere & S1,
const gp_Cylinder & S2 )

◆ Perform() [5/6]

void Extrema_ExtElSS::Perform ( const gp_Sphere & S1,
const gp_Sphere & S2 )

◆ Perform() [6/6]

void Extrema_ExtElSS::Perform ( const gp_Sphere & S1,
const gp_Torus & S2 )

◆ Points()

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

Returns the points for the Nth resulting distance. P1 is on the first surface, P2 on the second one.

◆ SquareDistance()

double Extrema_ExtElSS::SquareDistance ( const int N = 1) const

Returns the value of the Nth extremum square distance.


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