Open CASCADE Technology 6.6.0
Public Member Functions
Extrema_ExtElSS Class Reference

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

#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)
Standard_Boolean IsDone () const
 Returns True if the distances are found.

Standard_Boolean IsParallel () const
 Returns True if the two surfaces are parallel.

Standard_Integer NbExt () const
 Returns the number of extremum distances.

Standard_Real SquareDistance (const Standard_Integer N=1) const
 Returns the value of the Nth extremum square distance.

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.


Constructor & Destructor Documentation

Extrema_ExtElSS::Extrema_ExtElSS ( )
Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Pln S1,
const gp_Pln S2 
)
Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Pln S1,
const gp_Sphere S2 
)
Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere S1,
const gp_Sphere S2 
)
Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere S1,
const gp_Cylinder S2 
)
Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere S1,
const gp_Cone S2 
)
Extrema_ExtElSS::Extrema_ExtElSS ( const gp_Sphere S1,
const gp_Torus S2 
)

Member Function Documentation

Standard_Boolean Extrema_ExtElSS::IsDone ( ) const
Standard_Boolean Extrema_ExtElSS::IsParallel ( ) const
Standard_Integer Extrema_ExtElSS::NbExt ( ) const
void Extrema_ExtElSS::Perform ( const gp_Sphere S1,
const gp_Cylinder S2 
)
void Extrema_ExtElSS::Perform ( const gp_Pln S1,
const gp_Sphere S2 
)
void Extrema_ExtElSS::Perform ( const gp_Sphere S1,
const gp_Sphere S2 
)
void Extrema_ExtElSS::Perform ( const gp_Sphere S1,
const gp_Torus S2 
)
void Extrema_ExtElSS::Perform ( const gp_Sphere S1,
const gp_Cone S2 
)
void Extrema_ExtElSS::Perform ( const gp_Pln S1,
const gp_Pln S2 
)
void Extrema_ExtElSS::Points ( const Standard_Integer  N,
Extrema_POnSurf P1,
Extrema_POnSurf P2 
) const
Standard_Real Extrema_ExtElSS::SquareDistance ( const Standard_Integer  N = 1) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines