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

Definition of a conic by its implicit quadaratic equation: A.X**2 + B.Y**2 + 2.C.X*Y + 2.D.X + 2.E.Y + F = 0. More...

#include <IntAna2d_Conic.hxx>

Public Member Functions

 IntAna2d_Conic (const gp_Circ2d &C)
 
 IntAna2d_Conic (const gp_Lin2d &C)
 
 IntAna2d_Conic (const gp_Parab2d &C)
 
 IntAna2d_Conic (const gp_Hypr2d &C)
 
 IntAna2d_Conic (const gp_Elips2d &C)
 
double Value (const double X, const double Y) const
 value of the function F at the point X,Y.
 
gp_XY Grad (const double X, const double Y) const
 returns the value of the gradient of F at the point X,Y.
 
void ValAndGrad (const double X, const double Y, double &Val, gp_XY &Grd) const
 Returns the value of the function and its gradient at the point X,Y.
 
void Coefficients (double &A, double &B, double &C, double &D, double &E, double &F) const
 returns the coefficients of the polynomial equation which defines the conic: A.X**2 + B.Y**2 + 2.C.X*Y + 2.D.X + 2.E.Y + F = 0.
 
void NewCoefficients (double &A, double &B, double &C, double &D, double &E, double &F, const gp_Ax2d &Axis) const
 Returns the coefficients of the polynomial equation ( written in the natural coordinates system ) A x x + B y y + 2 C x y + 2 D x + 2 E y + F in the local coordinates system defined by Axis.
 

Detailed Description

Definition of a conic by its implicit quadaratic equation: A.X**2 + B.Y**2 + 2.C.X*Y + 2.D.X + 2.E.Y + F = 0.

Constructor & Destructor Documentation

◆ IntAna2d_Conic() [1/5]

IntAna2d_Conic::IntAna2d_Conic ( const gp_Circ2d & C)

◆ IntAna2d_Conic() [2/5]

IntAna2d_Conic::IntAna2d_Conic ( const gp_Lin2d & C)

◆ IntAna2d_Conic() [3/5]

IntAna2d_Conic::IntAna2d_Conic ( const gp_Parab2d & C)

◆ IntAna2d_Conic() [4/5]

IntAna2d_Conic::IntAna2d_Conic ( const gp_Hypr2d & C)

◆ IntAna2d_Conic() [5/5]

IntAna2d_Conic::IntAna2d_Conic ( const gp_Elips2d & C)

Member Function Documentation

◆ Coefficients()

void IntAna2d_Conic::Coefficients ( double & A,
double & B,
double & C,
double & D,
double & E,
double & F ) const

returns the coefficients of the polynomial equation which defines the conic: A.X**2 + B.Y**2 + 2.C.X*Y + 2.D.X + 2.E.Y + F = 0.

◆ Grad()

gp_XY IntAna2d_Conic::Grad ( const double X,
const double Y ) const

returns the value of the gradient of F at the point X,Y.

◆ NewCoefficients()

void IntAna2d_Conic::NewCoefficients ( double & A,
double & B,
double & C,
double & D,
double & E,
double & F,
const gp_Ax2d & Axis ) const

Returns the coefficients of the polynomial equation ( written in the natural coordinates system ) A x x + B y y + 2 C x y + 2 D x + 2 E y + F in the local coordinates system defined by Axis.

◆ ValAndGrad()

void IntAna2d_Conic::ValAndGrad ( const double X,
const double Y,
double & Val,
gp_XY & Grd ) const

Returns the value of the function and its gradient at the point X,Y.

◆ Value()

double IntAna2d_Conic::Value ( const double X,
const double Y ) const

value of the function F at the point X,Y.


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