Class Ellipse

All Implemented Interfaces:
AutoCloseable

public final class Ellipse extends Ring implements AutoCloseable
Represents an ellipse.
See Also:
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Ring
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Ring
    • getCenter Link icon

      @NotNull public Coordinate getCenter()
      Returns the center of the ellipse.
      Returns:
      the center of the ellipse.
    • getA Link icon

      public double getA()
      Returns the length of the semi-major axis of the elliptical arc.

      If the coordinate reference is a geodetic reference, this is expressed in meters. Otherwise the unit of the reference is used.

      Returns:
      the length of the semi-major axis of the elliptical arc.
    • getB Link icon

      public double getB()
      Returns the length of the semi-minor axis of the elliptical arc.

      If the coordinate reference is a geodetic reference, this is expressed in meters. Otherwise the unit of the reference is used.

      Returns:
      the length of the semi-minor axis of the elliptical arc.
    • getRotationAngle Link icon

      @NotNull public Angle getRotationAngle()
      Returns the rotation angle of the elliptical arc.
      Returns:
      the rotation angle of the elliptical arc.