Class Edge
java.lang.Object
org.hipparchus.geometry.spherical.twod.Edge
Spherical polygons boundary edge.
-
Method Summary
-
Method Details
-
getStart
Get start vertex.- Returns:
- start 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
Get the circle supporting this edge.- Returns:
- circle supporting this edge
-
getPointAt
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 fromgetStart()
- Returns:
- an intermediate point
-