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

Class EllipseRotated_F32

  • All Implemented Interfaces:
    java.io.Serializable


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

    An ellipse described using its center, semi-axes, and orientation.
    (x'*cos(phi) + y'*sin(phi))^2/a^2 + (-x'*sin(phi) + y'*cos(phi))^2/b_2 = 1
    x' = x-x_0, y' = y-y_0
    where (x_0,y_0) is the center, (a,b) are major and minor axises, and phi is it's orientation.

    See Also:
    Serialized Form
    • Field Detail

      • center

        public Point2D_F32 center
        Center of the ellipse
      • a

        public float a
        semi major-axis
      • b

        public float b
        semi minor-axis
      • phi

        public float phi
        counter clockwise angle of rotation from x-axis to the major axis. Standard range is from -PI/2 to PI/2
    • Constructor Detail

      • EllipseRotated_F32

        public EllipseRotated_F32(Point2D_F32 center,
                                  float a,
                                  float b,
                                  float phi)
      • EllipseRotated_F32

        public EllipseRotated_F32(float x0,
                                  float y0,
                                  float a,
                                  float b,
                                  float phi)
      • EllipseRotated_F32

        public EllipseRotated_F32()
    • Method Detail

      • setCenter

        public void setCenter(Point2D_F32 center)
      • getA

        public float getA()
      • setA

        public void setA(float a)
      • getB

        public float getB()
      • setB

        public void setB(float b)
      • getPhi

        public float getPhi()
      • setPhi

        public void setPhi(float phi)
      • set

        public void set(float x0,
                        float y0,
                        float a,
                        float b,
                        float phi)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.