gov.nasa.worldwind.util
Class GeometryMath
java.lang.Object
gov.nasa.worldwind.util.GeometryMath
public class GeometryMath
- extends Object
A collection of useful geometric methods, all static.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeometryMath
public GeometryMath()
computePolygonArea
public static double computePolygonArea(Iterable<? extends LatLon> locations)
computePolygonArea2
public static double computePolygonArea2(Iterable<? extends Vec4> points)
computePolygonWindingOrder
public static String computePolygonWindingOrder(Iterable<? extends LatLon> locations)
computePolygonWindingOrder2
public static String computePolygonWindingOrder2(Iterable<? extends Vec4> points)
isPolygonClosed
public static boolean isPolygonClosed(Iterable<? extends LatLon> locations)
isPolygonClosed2
public static boolean isPolygonClosed2(Iterable<? extends Vec4> points)
isSegmentIntersectingSector
public static boolean isSegmentIntersectingSector(LatLon begin,
LatLon end,
Sector sector)