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 Details

    • A

      public float A
      Coefficients.
    • C

      public float C
      Coefficients.
    • D

      public float D
      Coefficients.
    • E

      public float E
      Coefficients.
    • F

      public float F
      Coefficients.
  • Constructor Details

    • ParabolaGeneral_F32

      public ParabolaGeneral_F32(float a, float c, float d, float e, float f)
    • ParabolaGeneral_F32

      public ParabolaGeneral_F32(ParabolaGeneral_F32 original)
    • ParabolaGeneral_F32

      public ParabolaGeneral_F32()
  • Method Details

    • setTo

      public ParabolaGeneral_F32 setTo(ParabolaGeneral_F32 original)
    • setTo

      public ParabolaGeneral_F32 setTo(float a, float c, float d, float e, float f)
    • 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

      public float relativeScale(ParabolaGeneral_F32 parabola)
    • isEquivalent

      public boolean isEquivalent(ParabolaGeneral_F32 parabola, float tol)
      Determines if they are equivalent up to a scale factor