![]() |
Kig Python Scripting API Documentation |
||||
|
This class represents an equation of a cubic in the form (in homogeneous coordinates,
),
.
More...
#include <cubic-common.h>
Public Member Functions | |
CubicCartesianData () | |
CubicCartesianData (double a000, double a001, double a002, double a011, double a012, double a022, double a111, double a112, double a122, double a222) | |
Constructor. More... | |
bool | valid () const |
Return whether this is a valid CubicCartesianData. More... | |
Static Public Member Functions | |
static CubicCartesianData | invalidData () |
Create an invalid CubicCartesianData. More... | |
This class represents an equation of a cubic in the form (in homogeneous coordinates,
),
.
The coefficients are stored in lessicografic order.
CubicCartesianData::CubicCartesianData | ( | double | a000, |
double | a001, | ||
double | a002, | ||
double | a011, | ||
double | a012, | ||
double | a022, | ||
double | a111, | ||
double | a112, | ||
double | a122, | ||
double | a222 | ||
) |
Constructor.
Construct a new CubicCartesianData, with the given values as coeffs.
|
static |
Create an invalid CubicCartesianData.
This is a special state of a CubicCartesianData that signals that something went wrong..
bool CubicCartesianData::valid | ( | ) | const |
Return whether this is a valid CubicCartesianData.