Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
IntAna_Quadric Class Reference

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.
 
 IntAna_Quadric (const gp_Pln &P)
 Creates a Quadric from a Pln.
 
 IntAna_Quadric (const gp_Sphere &Sph)
 Creates a Quadric from a Sphere.
 
 IntAna_Quadric (const gp_Cylinder &Cyl)
 Creates a Quadric from a Cylinder.
 
 IntAna_Quadric (const gp_Cone &Cone)
 Creates a Quadric from a Cone.
 
void SetQuadric (const gp_Pln &P)
 Initializes the quadric with a Pln.
 
void SetQuadric (const gp_Sphere &Sph)
 Initialize the quadric with a Sphere.
 
void SetQuadric (const gp_Cone &Con)
 Initializes the quadric with a Cone.
 
void SetQuadric (const gp_Cylinder &Cyl)
 Initializes the quadric with a Cylinder.
 
void Coefficients (double &xCXX, double &xCYY, double &xCZZ, double &xCXY, double &xCXZ, double &xCYZ, double &xCX, double &xCY, double &xCZ, double &xCCte) const
 Returns the coefficients of the polynomial equation which define the quadric: xCXX x**2 + xCYY y**2 + xCZZ z**2.
 
void NewCoefficients (double &xCXX, double &xCYY, double &xCZZ, double &xCXY, double &xCXZ, double &xCYZ, double &xCX, double &xCY, double &xCZ, double &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.
 
const NCollection_List< gp_Pnt > & SpecialPoints () const
 Returns the list of special points (with singularities)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ IntAna_Quadric() [1/5]

IntAna_Quadric::IntAna_Quadric ( )

Empty Constructor.

◆ IntAna_Quadric() [2/5]

IntAna_Quadric::IntAna_Quadric ( const gp_Pln & P)

Creates a Quadric from a Pln.

◆ IntAna_Quadric() [3/5]

IntAna_Quadric::IntAna_Quadric ( const gp_Sphere & Sph)

Creates a Quadric from a Sphere.

◆ IntAna_Quadric() [4/5]

IntAna_Quadric::IntAna_Quadric ( const gp_Cylinder & Cyl)

Creates a Quadric from a Cylinder.

◆ IntAna_Quadric() [5/5]

IntAna_Quadric::IntAna_Quadric ( const gp_Cone & Cone)

Creates a Quadric from a Cone.

Member Function Documentation

◆ Coefficients()

void IntAna_Quadric::Coefficients ( double & xCXX,
double & xCYY,
double & xCZZ,
double & xCXY,
double & xCXZ,
double & xCYZ,
double & xCX,
double & xCY,
double & xCZ,
double & 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

◆ NewCoefficients()

void IntAna_Quadric::NewCoefficients ( double & xCXX,
double & xCYY,
double & xCZZ,
double & xCXY,
double & xCXZ,
double & xCYZ,
double & xCX,
double & xCY,
double & xCZ,
double & 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.

◆ SetQuadric() [1/4]

void IntAna_Quadric::SetQuadric ( const gp_Cone & Con)

Initializes the quadric with a Cone.

◆ SetQuadric() [2/4]

void IntAna_Quadric::SetQuadric ( const gp_Cylinder & Cyl)

Initializes the quadric with a Cylinder.

◆ SetQuadric() [3/4]

void IntAna_Quadric::SetQuadric ( const gp_Pln & P)

Initializes the quadric with a Pln.

◆ SetQuadric() [4/4]

void IntAna_Quadric::SetQuadric ( const gp_Sphere & Sph)

Initialize the quadric with a Sphere.

◆ SpecialPoints()

const NCollection_List< gp_Pnt > & IntAna_Quadric::SpecialPoints ( ) const
inline

Returns the list of special points (with singularities)


The documentation for this class was generated from the following file: