OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKGeomBase
Extrema


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)
Standard_EXPORT Extrema_ExtElCS ()
Standard_EXPORT 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.
.
Standard_EXPORT void Perform (const gp_Lin &C, const gp_Pln &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Lin &C, const gp_Cylinder &S)
 Calculates the distances between a line and a
cylinder.
.
Standard_EXPORT void Perform (const gp_Lin &C, const gp_Cylinder &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Lin &C, const gp_Cone &S)
 Calculates the distances between a line and a cone.
.
Standard_EXPORT void Perform (const gp_Lin &C, const gp_Cone &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Lin &C, const gp_Sphere &S)
 Calculates the distances between a line and a
sphere.
.
Standard_EXPORT void Perform (const gp_Lin &C, const gp_Sphere &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Lin &C, const gp_Torus &S)
 Calculates the distances between a line and a
torus.
.
Standard_EXPORT void Perform (const gp_Lin &C, const gp_Torus &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Circ &C, const gp_Pln &S)
 Calculates the distances between a circle and a
plane.
.
Standard_EXPORT void Perform (const gp_Circ &C, const gp_Pln &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Circ &C, const gp_Cylinder &S)
 Calculates the distances between a circle and a
cylinder.
.
Standard_EXPORT void Perform (const gp_Circ &C, const gp_Cylinder &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Circ &C, const gp_Cone &S)
 Calculates the distances between a circle and a
cone.
.
Standard_EXPORT void Perform (const gp_Circ &C, const gp_Cone &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Circ &C, const gp_Sphere &S)
 Calculates the distances between a circle and a
sphere.
.
Standard_EXPORT void Perform (const gp_Circ &C, const gp_Sphere &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Circ &C, const gp_Torus &S)
 Calculates the distances between a circle and a
torus.
.
Standard_EXPORT void Perform (const gp_Circ &C, const gp_Torus &S)
Standard_EXPORT Extrema_ExtElCS (const gp_Hypr &C, const gp_Pln &S)
 Calculates the distances between a hyperbola and a
plane.
.
Standard_EXPORT void Perform (const gp_Hypr &C, const gp_Pln &S)
Standard_EXPORT Standard_Boolean IsDone () const
 Returns True if the distances are found.
.
Standard_EXPORT Standard_Boolean IsParallel () const
 Returns True if the curve is on a parallel surface.
.
Standard_EXPORT Standard_Integer NbExt () const
 Returns the number of extremum distances.
.
Standard_EXPORT Standard_Real Value (const Standard_Integer N=1) const
 Returns the value of the Nth extremum distance.
.
Standard_EXPORT 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.
.

Private Attributes

Standard_Boolean myDone
Standard_Integer myNbExt
Standard_Boolean myIsPar
Handle_TColStd_HArray1OfReal myValue
Handle_Extrema_HArray1OfPOnCurv myPoint1
Handle_Extrema_HArray1OfPOnSurf myPoint2


Constructor & Destructor Documentation

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS  ) 
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Lin &  C,
const gp_Pln &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Lin &  C,
const gp_Cylinder &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Lin &  C,
const gp_Cone &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Lin &  C,
const gp_Sphere &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Lin &  C,
const gp_Torus &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Circ &  C,
const gp_Pln &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Circ &  C,
const gp_Cylinder &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Circ &  C,
const gp_Cone &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Circ &  C,
const gp_Sphere &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Circ &  C,
const gp_Torus &  S
 

Standard_EXPORT Extrema_ExtElCS::Extrema_ExtElCS const gp_Hypr &  C,
const gp_Pln &  S
 


Member Function Documentation

Standard_EXPORT Standard_Boolean Extrema_ExtElCS::IsDone  )  const
 

Standard_EXPORT Standard_Boolean Extrema_ExtElCS::IsParallel  )  const
 

Standard_EXPORT 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]
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Hypr &  C,
const gp_Pln &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Circ &  C,
const gp_Torus &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Circ &  C,
const gp_Sphere &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Circ &  C,
const gp_Cone &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Circ &  C,
const gp_Cylinder &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Circ &  C,
const gp_Pln &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Lin &  C,
const gp_Torus &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Lin &  C,
const gp_Sphere &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Lin &  C,
const gp_Cone &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Lin &  C,
const gp_Cylinder &  S
 

Standard_EXPORT void Extrema_ExtElCS::Perform const gp_Lin &  C,
const gp_Pln &  S
 

Standard_EXPORT void Extrema_ExtElCS::Points const Standard_Integer  N,
Extrema_POnCurv P1,
Extrema_POnSurf P2
const
 

Standard_EXPORT Standard_Real Extrema_ExtElCS::Value const Standard_Integer  N = 1  )  const
 


Field Documentation

Standard_Boolean Extrema_ExtElCS::myDone [private]
 

Standard_Boolean Extrema_ExtElCS::myIsPar [private]
 

Standard_Integer Extrema_ExtElCS::myNbExt [private]
 

Handle_Extrema_HArray1OfPOnCurv Extrema_ExtElCS::myPoint1 [private]
 

Handle_Extrema_HArray1OfPOnSurf Extrema_ExtElCS::myPoint2 [private]
 

Handle_TColStd_HArray1OfReal Extrema_ExtElCS::myValue [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:36 2008 for OpenCASCADE by  doxygen 1.4.1