Class ConicGeneral_F64

java.lang.Object
georegression.struct.curve.ConicGeneral_F64
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EllipseQuadratic_F64

public class ConicGeneral_F64 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 double A
      Coefficients
    • B

      public double B
      Coefficients
    • C

      public double C
      Coefficients
    • D

      public double D
      Coefficients
    • E

      public double E
      Coefficients
    • F

      public double F
      Coefficients
  • Constructor Details

    • ConicGeneral_F64

      public ConicGeneral_F64(double a, double b, double c, double d, double e, double f)
    • ConicGeneral_F64

      public ConicGeneral_F64(ConicGeneral_F64 original)
    • ConicGeneral_F64

      public ConicGeneral_F64()
  • Method Details

    • evaluate

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

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

      public boolean isEllipse(double tol)
    • isParabola

      public boolean isParabola(double tol)
    • isHyperbola

      public boolean isHyperbola(double tol)
    • setTo

      public ConicGeneral_F64 setTo(ConicGeneral_F64 original)
    • setTo

      public ConicGeneral_F64 setTo(double a, double b, double c, double d, double e, double f)
    • zero

      public void zero()
    • copy

      public ConicGeneral_F64 copy()
    • toString

      public String toString()
      Overrides:
      toString in class Object