Package georegression.struct.curve
Class ParabolaGeneral_F64
java.lang.Object
georegression.struct.curve.ParabolaGeneral_F64
Parabola is a specific type of conic that is defined below using 5 coefficients.
(A*x + C*y)2 + D*x + E*y + F = 0
-
Field Summary
-
Constructor Summary
ConstructorDescriptionParabolaGeneral_F64
(double a, double c, double d, double e, double f) ParabolaGeneral_F64
(ParabolaGeneral_F64 original) -
Method Summary
Modifier and TypeMethodDescriptiondouble
evaluate
(double x, double y) void
fromArray
(double[] array) boolean
Returns true if any of its parameters have an uncountable numberboolean
isEquivalent
(ParabolaGeneral_F64 parabola, double tol) Determines if they are equivalent up to a scale factordouble
relativeScale
(ParabolaGeneral_F64 parabola) setTo
(double a, double c, double d, double e, double f) setTo
(ParabolaGeneral_F64 original) void
toArray
(double[] array) void
zero()
-
Field Details
-
A
public double ACoefficients. -
C
public double CCoefficients. -
D
public double DCoefficients. -
E
public double ECoefficients. -
F
public double FCoefficients.
-
-
Constructor Details
-
ParabolaGeneral_F64
public ParabolaGeneral_F64(double a, double c, double d, double e, double f) -
ParabolaGeneral_F64
-
ParabolaGeneral_F64
public ParabolaGeneral_F64()
-
-
Method Details
-
setTo
-
setTo
-
zero
public void zero() -
evaluate
public double evaluate(double x, double y) -
toArray
public void toArray(double[] array) -
fromArray
public void fromArray(double[] array) -
hasUncountable
public boolean hasUncountable()Returns true if any of its parameters have an uncountable number -
relativeScale
-
isEquivalent
Determines if they are equivalent up to a scale factor
-