Module omix.api

Interface Arc

All Superinterfaces:
AbstractControlPoint, AbstractCurvePoint
All Known Subinterfaces:
Arc

@OVLInaccessible
public interface Arc
extends AbstractControlPoint
Represents an arc as curve describing component of an edge.
An arc consists of a center point, radius in X and Y direction, a start angle and a length in degrees.

Arc

Since:
Omix 1.3
Author:
Dr. Peter Droste, Omix Visualization
  • Method Details

    • length

      double length()
      Returns the length of the arc in degrees.
      Returns:
      length
    • radius

      double radius()
      Returns the radius of the arc.
      (radiusX + radiusY)/2
      Returns:
      radius
    • radiusX

      double radiusX()
      Returns the radius in X direction.
      Returns:
      radius in X direction
    • radiusY

      double radiusY()
      Returns the radius in Y direction.
      Returns:
      radius in Y direction
    • startAngle

      double startAngle()
      Returns the start angle in degrees.
      Returns:
      start angle