Open CASCADE Technology
6.9.1
|
This class provides a description of Quadrics by their Coefficients in natural coordinate system. More...
#include <IntAna_Quadric.hxx>
Public Member Functions | |
IntAna_Quadric () | |
Empty Constructor. More... | |
IntAna_Quadric (const gp_Pln &P) | |
Creates a Quadric from a Pln. More... | |
IntAna_Quadric (const gp_Sphere &Sph) | |
Creates a Quadric from a Sphere. More... | |
IntAna_Quadric (const gp_Cylinder &Cyl) | |
Creates a Quadric from a Cylinder. More... | |
IntAna_Quadric (const gp_Cone &Cone) | |
Creates a Quadric from a Cone. More... | |
void | SetQuadric (const gp_Pln &P) |
Initializes the quadric with a Pln. More... | |
void | SetQuadric (const gp_Sphere &Sph) |
Initialize the quadric with a Sphere. More... | |
void | SetQuadric (const gp_Cone &Con) |
Initializes the quadric with a Cone. More... | |
void | SetQuadric (const gp_Cylinder &Cyl) |
Initializes the quadric with a Cylinder. More... | |
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. More... | |
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. More... | |
This class provides a description of Quadrics by their Coefficients in natural coordinate system.
IntAna_Quadric::IntAna_Quadric | ( | ) |
Empty Constructor.
IntAna_Quadric::IntAna_Quadric | ( | const gp_Pln & | P | ) |
Creates a Quadric from a Pln.
IntAna_Quadric::IntAna_Quadric | ( | const gp_Sphere & | Sph | ) |
Creates a Quadric from a Sphere.
IntAna_Quadric::IntAna_Quadric | ( | const gp_Cylinder & | Cyl | ) |
Creates a Quadric from a Cylinder.
IntAna_Quadric::IntAna_Quadric | ( | const gp_Cone & | Cone | ) |
Creates a Quadric from a Cone.
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 |
Returns the coefficients of the polynomial equation which define the quadric: xCXX x**2 + xCYY y**2 + xCZZ z**2.
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 |
Returns the coefficients of the polynomial equation ( written in the natural coordinates system ) in the local coordinates system defined by Axis.
void IntAna_Quadric::SetQuadric | ( | const gp_Pln & | P | ) |
Initializes the quadric with a Pln.
void IntAna_Quadric::SetQuadric | ( | const gp_Sphere & | Sph | ) |
Initialize the quadric with a Sphere.
void IntAna_Quadric::SetQuadric | ( | const gp_Cone & | Con | ) |
Initializes the quadric with a Cone.
void IntAna_Quadric::SetQuadric | ( | const gp_Cylinder & | Cyl | ) |
Initializes the quadric with a Cylinder.