Class CovarianceToEllipse_F32

java.lang.Object
georegression.fitting.curves.CovarianceToEllipse_F32

@Generated("georegression.fitting.curves.CovarianceToEllipse_F64") public class CovarianceToEllipse_F32 extends Object
Computes a containment ellipse given a covariance
  • Constructor Details

    • CovarianceToEllipse_F32

      public CovarianceToEllipse_F32()
  • Method Details

    • setNumStdev

      public void setNumStdev(float numStdev)
    • setCovariance

      public boolean setCovariance(float a11, float a12, float a22)
      Specifies the covariance matrix. Q = [a11 a12; a12 a22]
      Parameters:
      a11 - element in covariance matrix.
      a12 - element in covariance matrix.
      a22 - element in covariance matrix.
      Returns:
      true if it was successful or false if something went wrong
    • getMajorVector

      public Vector2D_F32 getMajorVector()
      Returns:
      Vector which defines the major axis
    • getMinorVector

      public Vector2D_F32 getMinorVector()
      Returns:
      Vector which defines the minor axis
    • getAngle

      public float getAngle()
      Returns:
      Angle between the major axis and the x-axis
    • getMajorAxis

      public float getMajorAxis()
      Returns:
      Length of the major axis
    • getMinorAxis

      public float getMinorAxis()
      Returns:
      Length of the minor axis