21 #ifndef KIG_MISC_CONIC_COMMON_H 22 #define KIG_MISC_CONIC_COMMON_H 24 #include "coordinate.h" 26 #include "kignumerics.h" 54 double d,
double e,
double f )
101 double ecostheta0,
double esintheta0 );
137 enum LinearConstraints {
138 noconstraint, zerotilt, parabolaifzt, circleifzt,
139 equilateral, ysymmetry, xsymmetry
154 const std::vector<Coordinate>& points,
155 const LinearConstraints c1 = noconstraint,
156 const LinearConstraints c2 = noconstraint,
157 const LinearConstraints c3 = noconstraint,
158 const LinearConstraints c4 = noconstraint,
159 const LinearConstraints c5 = noconstraint);
170 const std::vector<Coordinate>& args,
246 int which,
bool &
valid );
263 int which,
int zeroindex,
bool&
valid );
278 #endif // KIG_MISC_CONIC_COMMON_H double esintheta0
The esintheta0 value from the polar equation.
Definition: conic-common.h:118
Simple class representing a line.
Definition: common.h:60
Cartesian Conic Data.
Definition: conic-common.h:37
The Coordinate class is the basic class representing a 2D location by its x and y components...
Definition: coordinate.h:33
Coordinate focus1
The first focus of this conic.
Definition: conic-common.h:106
ConicCartesianData(double a, double b, double c, double d, double e, double f)
Construct a ConicCartesianData from its coefficients Construct a ConicCartesianData using the coeffic...
Definition: conic-common.h:53
double pdimen
The pdimen value from the polar equation.
Definition: conic-common.h:110
double ecostheta0
The ecostheta0 value from the polar equation.
Definition: conic-common.h:114
static ConicCartesianData invalidData()
Invalid conic.
bool valid() const
Test validity.
This class represents an equation of a conic in the form .
Definition: conic-common.h:85