java.lang.Object
org.hipparchus.geometry.spherical.twod.Edge

public class Edge extends Object
Spherical polygons boundary edge.
See Also:
  • Method Details

    • getStart

      public Vertex getStart()
      Get start vertex.
      Returns:
      start vertex
    • getEnd

      public Vertex getEnd()
      Get end vertex.
      Returns:
      end vertex
    • getLength

      public double getLength()
      Get the length of the arc.
      Returns:
      length of the arc (can be greater than \( \pi \))
    • getCircle

      public Circle getCircle()
      Get the circle supporting this edge.
      Returns:
      circle supporting this edge
    • getPointAt

      public Vector3D getPointAt(double alpha)
      Get an intermediate point.

      The angle along the edge should normally be between 0 and getLength() in order to remain within edge limits. However, there are no checks on the value of the angle, so user can rebuild the full circle on which an edge is defined if they want.

      Parameters:
      alpha - angle along the edge, counted from getStart()
      Returns:
      an intermediate point