Class EllipticalArc

All Implemented Interfaces:
AutoCloseable

public final class EllipticalArc extends Curve implements AutoCloseable
Represents an elliptical arc.
See Also:
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Curve
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Curve
    • getCenter

      @NotNull public Coordinate getCenter()
      Returns the center of the elliptical arc.
      Returns:
      the center of the elliptical arc.
    • getA

      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

      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.
    • getStartAngle

      @NotNull public Angle getStartAngle()
      Returns the start angle of the elliptical arc.
      Returns:
      the start angle of the elliptical arc.
    • getEndAngle

      @NotNull public Angle getEndAngle()
      Returns the end angle of the elliptical arc.
      Returns:
      the end angle of the elliptical arc.
    • getRotationAngle

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

      This property determines the rotation of the axes of the ellipse in which the arc is defined

      Returns:
      the rotation angle of the elliptical arc.
    • getAngleDirection

      @NotNull public Angle.Direction getAngleDirection()
      Returns the orientation of the arc.

      This property determines in which direction the arc extends form the start to the end angle

      Returns:
      the orientation of the arc.