Documentation of 'georegression.struct.shapes.EllipseQuadratic_F32' Java class
EllipseQuadratic_F32
georegression.struct.shapes

Class EllipseQuadratic_F32

  • All Implemented Interfaces:
    java.io.Serializable


    public class EllipseQuadratic_F32
    extends java.lang.Object
    implements java.io.Serializable

    In 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
      float a
      coefficients
      float b
      coefficients
      float c
      coefficients
      float d
      coefficients
      float e
      coefficients
      float f
      coefficients
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isEllipse()
      Checks to see if the parameters define an ellipse using the a*c - b*b > 0 constraint.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • EllipseQuadratic_F32

        public EllipseQuadratic_F32(float a,
                                    float b,
                                    float c,
                                    float d,
                                    float e,
                                    float f)
      • EllipseQuadratic_F32

        public EllipseQuadratic_F32()
    • Method Detail

      • isEllipse

        public boolean isEllipse()
        Checks to see if the parameters define an ellipse using the a*c - b*b > 0 constraint.
        Returns:
        true if it's an ellipse or false if not

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.