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

ModelingData
TKGeomBase
IntAna


IntAna_Quadric Class Reference

This class provides a description of Quadrics by their
Coefficients in natural coordinate system.
.

#include <IntAna_Quadric.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT IntAna_Quadric ()
 Empty Constructor
.
Standard_EXPORT IntAna_Quadric (const gp_Pln &P)
 Creates a Quadric from a Pln
.
Standard_EXPORT IntAna_Quadric (const gp_Sphere &Sph)
 Creates a Quadric from a Sphere
.
Standard_EXPORT IntAna_Quadric (const gp_Cylinder &Cyl)
 Creates a Quadric from a Cylinder
.
Standard_EXPORT IntAna_Quadric (const gp_Cone &Cone)
 Creates a Quadric from a Cone
.
Standard_EXPORT void SetQuadric (const gp_Pln &P)
 Initializes the quadric with a Pln
.
Standard_EXPORT void SetQuadric (const gp_Sphere &Sph)
 Initialize the quadric with a Sphere
.
Standard_EXPORT void SetQuadric (const gp_Cone &Con)
 Initializes the quadric with a Cone
.
Standard_EXPORT void SetQuadric (const gp_Cylinder &Cyl)
 Initializes the quadric with a Cylinder
.
Standard_EXPORT void Coefficients (Standard_Real &xCXX, Standard_Real &xCYY, Standard_Real &xCZZ, Standard_Real &xCXY, Standard_Real &xCXZ, Standard_Real &xCYZ, Standard_Real &xCX, Standard_Real &xCY, Standard_Real &xCZ, Standard_Real &xCCte) const
 Returns the coefficients of the polynomial equation
which define the quadric:
xCXX x**2 + xCYY y**2 + xCZZ z**2
+ 2 ( xCXY x y + xCXZ x z + xCYZ y z )
+ 2 ( xCX x + xCY y + xCZ z )
+ xCCte
.
Standard_EXPORT void NewCoefficients (Standard_Real &xCXX, Standard_Real &xCYY, Standard_Real &xCZZ, Standard_Real &xCXY, Standard_Real &xCXZ, Standard_Real &xCYZ, Standard_Real &xCX, Standard_Real &xCY, Standard_Real &xCZ, Standard_Real &xCCte, const gp_Ax3 &Axis) const
 Returns the coefficients of the polynomial equation
( written in the natural coordinates system )
in the local coordinates system defined by Axis
.

Private Attributes

Standard_Real CXX
Standard_Real CYY
Standard_Real CZZ
Standard_Real CXY
Standard_Real CXZ
Standard_Real CYZ
Standard_Real CX
Standard_Real CY
Standard_Real CZ
Standard_Real CCte


Constructor & Destructor Documentation

Standard_EXPORT IntAna_Quadric::IntAna_Quadric  ) 
 

Standard_EXPORT IntAna_Quadric::IntAna_Quadric const gp_Pln &  P  ) 
 

Standard_EXPORT IntAna_Quadric::IntAna_Quadric const gp_Sphere &  Sph  ) 
 

Standard_EXPORT IntAna_Quadric::IntAna_Quadric const gp_Cylinder &  Cyl  ) 
 

Standard_EXPORT IntAna_Quadric::IntAna_Quadric const gp_Cone &  Cone  ) 
 


Member Function Documentation

Standard_EXPORT void IntAna_Quadric::Coefficients Standard_Real &  xCXX,
Standard_Real &  xCYY,
Standard_Real &  xCZZ,
Standard_Real &  xCXY,
Standard_Real &  xCXZ,
Standard_Real &  xCYZ,
Standard_Real &  xCX,
Standard_Real &  xCY,
Standard_Real &  xCZ,
Standard_Real &  xCCte
const
 

Standard_EXPORT void IntAna_Quadric::NewCoefficients Standard_Real &  xCXX,
Standard_Real &  xCYY,
Standard_Real &  xCZZ,
Standard_Real &  xCXY,
Standard_Real &  xCXZ,
Standard_Real &  xCYZ,
Standard_Real &  xCX,
Standard_Real &  xCY,
Standard_Real &  xCZ,
Standard_Real &  xCCte,
const gp_Ax3 &  Axis
const
 

void IntAna_Quadric::operator delete void *  anAddress  )  [inline]
 

void* IntAna_Quadric::operator new size_t  size  )  [inline]
 

void* IntAna_Quadric::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT void IntAna_Quadric::SetQuadric const gp_Cylinder &  Cyl  ) 
 

Standard_EXPORT void IntAna_Quadric::SetQuadric const gp_Cone &  Con  ) 
 

Standard_EXPORT void IntAna_Quadric::SetQuadric const gp_Sphere &  Sph  ) 
 

Standard_EXPORT void IntAna_Quadric::SetQuadric const gp_Pln &  P  ) 
 


Field Documentation

Standard_Real IntAna_Quadric::CCte [private]
 

Standard_Real IntAna_Quadric::CX [private]
 

Standard_Real IntAna_Quadric::CXX [private]
 

Standard_Real IntAna_Quadric::CXY [private]
 

Standard_Real IntAna_Quadric::CXZ [private]
 

Standard_Real IntAna_Quadric::CY [private]
 

Standard_Real IntAna_Quadric::CYY [private]
 

Standard_Real IntAna_Quadric::CYZ [private]
 

Standard_Real IntAna_Quadric::CZ [private]
 

Standard_Real IntAna_Quadric::CZZ [private]
 


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