Package georegression.struct.curve
Class ParabolaGeneral_F32
java.lang.Object
georegression.struct.curve.ParabolaGeneral_F32
@Generated("georegression.struct.curve.ParabolaGeneral_F64")
public class ParabolaGeneral_F32
extends Object
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_F32
(float a, float c, float d, float e, float f) ParabolaGeneral_F32
(ParabolaGeneral_F32 original) -
Method Summary
Modifier and TypeMethodDescriptionfloat
evaluate
(float x, float y) void
fromArray
(float[] array) boolean
Returns true if any of its parameters have an uncountable numberboolean
isEquivalent
(ParabolaGeneral_F32 parabola, float tol) Determines if they are equivalent up to a scale factorfloat
relativeScale
(ParabolaGeneral_F32 parabola) setTo
(float a, float c, float d, float e, float f) setTo
(ParabolaGeneral_F32 original) void
toArray
(float[] array) void
zero()
-
Field Details
-
A
public float ACoefficients. -
C
public float CCoefficients. -
D
public float DCoefficients. -
E
public float ECoefficients. -
F
public float FCoefficients.
-
-
Constructor Details
-
ParabolaGeneral_F32
public ParabolaGeneral_F32(float a, float c, float d, float e, float f) -
ParabolaGeneral_F32
-
ParabolaGeneral_F32
public ParabolaGeneral_F32()
-
-
Method Details
-
setTo
-
setTo
-
zero
public void zero() -
evaluate
public float evaluate(float x, float y) -
toArray
public void toArray(float[] array) -
fromArray
public void fromArray(float[] 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
-