Package georegression.struct.curve
Class ConicGeneral_F64
java.lang.Object
georegression.struct.curve.ConicGeneral_F64
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EllipseQuadratic_F64
A*x2 + B*x*y + C*y2 + D*x + E*y + F=0
All coefficients are real numbers and A,B,C are all not zero. The discriminant is defined as B2 - 4*A*C.
Ellipse: B2 - 4*A*C < 0
Parabola: B2 - 4*A*C = 0
Hyperbola: B2 - 4*A*C > 0
NOTE: these parameters are unique only up to a scale factor.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConicGeneral_F64
(double a, double b, double c, double d, double e, double f) ConicGeneral_F64
(ConicGeneral_F64 original) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
double
evaluate
(double x, double y) boolean
Returns true if any of its parameters have an uncountable numberboolean
isEllipse
(double tol) boolean
isHyperbola
(double tol) boolean
isParabola
(double tol) setTo
(double a, double b, double c, double d, double e, double f) setTo
(ConicGeneral_F64 original) toString()
void
zero()
-
Field Details
-
A
public double ACoefficients -
B
public double BCoefficients -
C
public double CCoefficients -
D
public double DCoefficients -
E
public double ECoefficients -
F
public double FCoefficients
-
-
Constructor Details
-
ConicGeneral_F64
public ConicGeneral_F64(double a, double b, double c, double d, double e, double f) -
ConicGeneral_F64
-
ConicGeneral_F64
public ConicGeneral_F64()
-
-
Method Details
-
evaluate
public double evaluate(double x, double y) -
hasUncountable
public boolean hasUncountable()Returns true if any of its parameters have an uncountable number -
isEllipse
public boolean isEllipse(double tol) -
isParabola
public boolean isParabola(double tol) -
isHyperbola
public boolean isHyperbola(double tol) -
setTo
-
setTo
-
zero
public void zero() -
copy
-
toString
-