Open CASCADE Technology  6.9.1
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::Extrema_ExtElSS ( )
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::Extrema_ExtElSS ( const gp_Pln S1,
const gp_Sphere S2 
)

Calculates the distances between a plane and a sphere.

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::Extrema_ExtElSS ( const gp_Sphere S1,
const gp_Cylinder S2 
)

Calculates the distances between a sphere and a cylinder.

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

Calculates the distances between a sphere and a cone.

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

Calculates the distances between a sphere and a torus.

Member Function Documentation

Standard_Boolean Extrema_ExtElSS::IsDone ( ) const

Returns True if the distances are found.

Standard_Boolean Extrema_ExtElSS::IsParallel ( ) const

Returns True if the two surfaces are parallel.

Standard_Integer Extrema_ExtElSS::NbExt ( ) const

Returns the number of extremum distances.

void Extrema_ExtElSS::Perform ( const gp_Pln S1,
const gp_Pln 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_Cylinder S2 
)
void Extrema_ExtElSS::Perform ( const gp_Sphere S1,
const gp_Cone S2 
)
void Extrema_ExtElSS::Perform ( const gp_Sphere S1,
const gp_Torus S2 
)
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.

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: