Class DiskUnion.Arc

java.lang.Object
com.github.micycle1.geoblitz.DiskUnion.Arc
Enclosing class:
DiskUnion

public static final class DiskUnion.Arc extends Object
A boundary arc of the union, oriented so the union interior is on the left.
  • Field Details

    • circle

      public final DiskUnion.Disk circle
      Disk that this arc lies on.
    • a0

      public final double a0
      Start angle in [0, 2*pi).
    • a1

      public final double a1
      End angle in (a0, a0+2*pi], i.e., CCW from a0 to a1.
  • Method Details

    • startPoint

      public org.locationtech.jts.geom.Coordinate startPoint()
    • endPoint

      public org.locationtech.jts.geom.Coordinate endPoint()
    • tangentAngleAtStart

      public double tangentAngleAtStart()
      Tangent direction angle at start, for CCW traversal.
    • tangentAngleAtEnd

      public double tangentAngleAtEnd()
      Tangent direction angle at end, for CCW traversal.
    • toString

      public String toString()
      Overrides:
      toString in class Object