Open CASCADE Technology 6.5.2
Public Member Functions
Extrema_ExtElCS Class Reference

It calculates all the distances between a curve and
a surface.
These distances can be maximum or minimum.

#include <Extrema_ExtElCS.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 Extrema_ExtElCS ()
 Extrema_ExtElCS (const gp_Lin &C, const gp_Pln &S)
 Calculates the distances between a line and a
plane. The line can be on the plane or on a parallel
plane.

void Perform (const gp_Lin &C, const gp_Pln &S)
 Extrema_ExtElCS (const gp_Lin &C, const gp_Cylinder &S)
 Calculates the distances between a line and a
cylinder.

void Perform (const gp_Lin &C, const gp_Cylinder &S)
 Extrema_ExtElCS (const gp_Lin &C, const gp_Cone &S)
 Calculates the distances between a line and a cone.

void Perform (const gp_Lin &C, const gp_Cone &S)
 Extrema_ExtElCS (const gp_Lin &C, const gp_Sphere &S)
 Calculates the distances between a line and a
sphere.

void Perform (const gp_Lin &C, const gp_Sphere &S)
 Extrema_ExtElCS (const gp_Lin &C, const gp_Torus &S)
 Calculates the distances between a line and a
torus.

void Perform (const gp_Lin &C, const gp_Torus &S)
 Extrema_ExtElCS (const gp_Circ &C, const gp_Pln &S)
 Calculates the distances between a circle and a
plane.

void Perform (const gp_Circ &C, const gp_Pln &S)
 Extrema_ExtElCS (const gp_Circ &C, const gp_Cylinder &S)
 Calculates the distances between a circle and a
cylinder.

void Perform (const gp_Circ &C, const gp_Cylinder &S)
 Extrema_ExtElCS (const gp_Circ &C, const gp_Cone &S)
 Calculates the distances between a circle and a
cone.

void Perform (const gp_Circ &C, const gp_Cone &S)
 Extrema_ExtElCS (const gp_Circ &C, const gp_Sphere &S)
 Calculates the distances between a circle and a
sphere.

void Perform (const gp_Circ &C, const gp_Sphere &S)
 Extrema_ExtElCS (const gp_Circ &C, const gp_Torus &S)
 Calculates the distances between a circle and a
torus.

void Perform (const gp_Circ &C, const gp_Torus &S)
 Extrema_ExtElCS (const gp_Hypr &C, const gp_Pln &S)
 Calculates the distances between a hyperbola and a
plane.

void Perform (const gp_Hypr &C, const gp_Pln &S)
Standard_Boolean IsDone () const
 Returns True if the distances are found.

Standard_Boolean IsParallel () const
 Returns True if the curve is on a parallel surface.

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_POnCurv &P1, Extrema_POnSurf &P2) const
 Returns the points of the Nth extremum distance.
P1 is on the curve, P2 on the surface.


Constructor & Destructor Documentation

Extrema_ExtElCS::Extrema_ExtElCS ( )
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin C,
const gp_Pln S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin C,
const gp_Cylinder S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin C,
const gp_Cone S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin C,
const gp_Sphere S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Lin C,
const gp_Torus S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ C,
const gp_Pln S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ C,
const gp_Cylinder S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ C,
const gp_Cone S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ C,
const gp_Sphere S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Circ C,
const gp_Torus S 
)
Extrema_ExtElCS::Extrema_ExtElCS ( const gp_Hypr C,
const gp_Pln S 
)

Member Function Documentation

Standard_Boolean Extrema_ExtElCS::IsDone ( ) const
Standard_Boolean Extrema_ExtElCS::IsParallel ( ) const
Standard_Integer Extrema_ExtElCS::NbExt ( ) const
void Extrema_ExtElCS::operator delete ( void *  anAddress) [inline]
void* Extrema_ExtElCS::operator new ( size_t  size) [inline]
void* Extrema_ExtElCS::operator new ( size_t  ,
void *  anAddress 
) [inline]
void Extrema_ExtElCS::Perform ( const gp_Lin C,
const gp_Torus S 
)
void Extrema_ExtElCS::Perform ( const gp_Circ C,
const gp_Torus S 
)
void Extrema_ExtElCS::Perform ( const gp_Circ C,
const gp_Sphere S 
)
void Extrema_ExtElCS::Perform ( const gp_Circ C,
const gp_Cone S 
)
void Extrema_ExtElCS::Perform ( const gp_Circ C,
const gp_Cylinder S 
)
void Extrema_ExtElCS::Perform ( const gp_Lin C,
const gp_Pln S 
)
void Extrema_ExtElCS::Perform ( const gp_Circ C,
const gp_Pln S 
)
void Extrema_ExtElCS::Perform ( const gp_Hypr C,
const gp_Pln S 
)
void Extrema_ExtElCS::Perform ( const gp_Lin C,
const gp_Cone S 
)
void Extrema_ExtElCS::Perform ( const gp_Lin C,
const gp_Cylinder S 
)
void Extrema_ExtElCS::Perform ( const gp_Lin C,
const gp_Sphere S 
)
void Extrema_ExtElCS::Points ( const Standard_Integer  N,
Extrema_POnCurv P1,
Extrema_POnSurf P2 
) const
Standard_Real Extrema_ExtElCS::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