Class ConicGeneral_F32

java.lang.Object
georegression.struct.curve.ConicGeneral_F32
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EllipseQuadratic_F32

@Generated("georegression.struct.curve.ConicGeneral_F64") public class ConicGeneral_F32 extends Object implements Serializable

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 Details

    • 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 Details

    • ConicGeneral_F32

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

      public ConicGeneral_F32(ConicGeneral_F32 original)
    • ConicGeneral_F32

      public ConicGeneral_F32()
  • Method Details

    • evaluate

      public float evaluate(float x, float y)
    • hasUncountable

      public boolean hasUncountable()
      Returns true if any of its parameters have an uncountable number
    • isEllipse

      public boolean isEllipse(float tol)
    • isParabola

      public boolean isParabola(float tol)
    • isHyperbola

      public boolean isHyperbola(float tol)
    • setTo

      public ConicGeneral_F32 setTo(ConicGeneral_F32 original)
    • setTo

      public ConicGeneral_F32 setTo(float a, float b, float c, float d, float e, float f)
    • zero

      public void zero()
    • copy

      public ConicGeneral_F32 copy()
    • toString

      public String toString()
      Overrides:
      toString in class Object