Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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.

#include <IntAna2d_Conic.hxx>

Public Member Functions

DEFINE_STANDARD_ALLOC 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)
Standard_Real Value (const Standard_Real X, const Standard_Real Y) const
 value of the function F at the point X,Y.

gp_XY Grad (const Standard_Real X, const Standard_Real Y) const
 returns the value of the gradient of F at the point X,Y.

void ValAndGrad (const Standard_Real X, const Standard_Real Y, Standard_Real &Val, gp_XY &Grd) const
 Returns the value of the function and its gradient at
the point X,Y.

void Coefficients (Standard_Real &A, Standard_Real &B, Standard_Real &C, Standard_Real &D, Standard_Real &E, Standard_Real &F) const
 returns the coefficients of the polynomial equation
wich defines the conic:
A.X**2 + B.Y**2 + 2.C.X*Y + 2.D.X + 2.E.Y + F = 0.

void NewCoefficients (Standard_Real &A, Standard_Real &B, Standard_Real &C, Standard_Real &D, Standard_Real &E, Standard_Real &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


Constructor & Destructor Documentation


Member Function Documentation


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