georegression.struct.shapes
Class EllipseQuadratic_F32
- java.lang.Object
-
- georegression.struct.shapes.EllipseQuadratic_F32
-
- All Implemented Interfaces:
- java.io.Serializable
public class EllipseQuadratic_F32 extends java.lang.Object implements java.io.SerializableIn general quadratic form, an ellipse is described by 6-coefficients:
F(x,y) = a*x^2 + 2*b*x*y + c*y^2 + 2*d*x + 2*e*y + f = 0
a*c - b*b > 0
where [a,b,c,d,e,f] are the coefficients and [x,y] is the coordinate of a point on the ellipse.NOTE: these parameters are unique only up to a scale factor.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description floatacoefficientsfloatbcoefficientsfloatccoefficientsfloatdcoefficientsfloatecoefficientsfloatfcoefficients
-
Constructor Summary
Constructors Constructor and Description EllipseQuadratic_F32()EllipseQuadratic_F32(float a, float b, float c, float d, float e, float f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanisEllipse()Checks to see if the parameters define an ellipse using thea*c - b*b > 0constraint.
-
-
-
Field Detail
-
a
public float a
coefficients
-
b
public float b
coefficients
-
c
public float c
coefficients
-
d
public float d
coefficients
-
e
public float e
coefficients
-
f
public float f
coefficients
-
-
DataMelt 3.0 © DataMelt by jWork.ORG