Open CASCADE Technology  7.4.0
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
void Perform (const gp_Sphere &S1, const gp_Torus &S2)
 
Standard_Boolean IsDone () const
 Returns True if the distances are found. More...
 
Standard_Boolean IsParallel () const
 Returns True if the two surfaces are parallel. More...
 
Standard_Integer NbExt () const
 Returns the number of extremum distances. More...
 
Standard_Real SquareDistance (const Standard_Integer N=1) const
 Returns the value of the Nth extremum square distance. More...
 
void Points (const Standard_Integer 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. More...
 

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()

Standard_Boolean Extrema_ExtElSS::IsDone ( ) const

Returns True if the distances are found.

◆ IsParallel()

Standard_Boolean Extrema_ExtElSS::IsParallel ( ) const

Returns True if the two surfaces are parallel.

◆ NbExt()

Standard_Integer 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_Sphere 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_Cone S2 
)

◆ Perform() [6/6]

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

◆ Points()

void Extrema_ExtElSS::Points ( const Standard_Integer  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()

Standard_Real Extrema_ExtElSS::SquareDistance ( const Standard_Integer  N = 1) const

Returns the value of the Nth extremum square distance.


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