Class CSUtils


  • public class CSUtils
    extends java.lang.Object
    (non-Javadoc)
    • Constructor Summary

      Constructors 
      Constructor Description
      CSUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double getGreatCircleDistance​(java.awt.geom.Point2D point1, java.awt.geom.Point2D point2)  
      static double getGreatCircleLength​(double[] ords)  
      static void getLatLonFromRadians​(java.awt.geom.Point2D point, java.awt.geom.Point2D pointOut)  
      static java.awt.geom.Point2D getPointAtBearing​(java.awt.geom.Point2D point, double dist, double bearing)  
      static void getRadiansFromLatLon​(java.awt.geom.Point2D point, java.awt.geom.Point2D pointOut)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CSUtils

        public CSUtils()
    • Method Detail

      • getPointAtBearing

        public static java.awt.geom.Point2D getPointAtBearing​(java.awt.geom.Point2D point,
                                                              double dist,
                                                              double bearing)
      • getRadiansFromLatLon

        public static void getRadiansFromLatLon​(java.awt.geom.Point2D point,
                                                java.awt.geom.Point2D pointOut)
      • getLatLonFromRadians

        public static void getLatLonFromRadians​(java.awt.geom.Point2D point,
                                                java.awt.geom.Point2D pointOut)
      • getGreatCircleDistance

        public static double getGreatCircleDistance​(java.awt.geom.Point2D point1,
                                                    java.awt.geom.Point2D point2)
      • getGreatCircleLength

        public static double getGreatCircleLength​(double[] ords)