Class Azimuth


  • public class Azimuth
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Azimuth()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double find​(double lat1, double lon1, double lat2, double lon2)
      Forward azimuth in radians with North being 0 in clockwise direction.
      static double find​(LatLonPoint point1, LatLonPoint point2)
      Forward azimuth in radians with North being 0 in clockwise direction.
      static double find​(org.locationtech.jts.geom.Coordinate coord1, org.locationtech.jts.geom.Coordinate coord2)
      Forward azimuth in radians with North being 0 in clockwise direction.
      static double find​(org.locationtech.jts.geom.Point point1, org.locationtech.jts.geom.Point point2)
      Forward azimuth in radians with North being 0 in clockwise direction.
      • Methods inherited from class java.lang.Object

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

      • Azimuth

        public Azimuth()
    • Method Detail

      • find

        public static final double find​(double lat1,
                                        double lon1,
                                        double lat2,
                                        double lon2)
        Forward azimuth in radians with North being 0 in clockwise direction.
        Parameters:
        lat1 - Lat in degrees of first point.
        lon1 - Lon in degrees of first point.
        lat2 - Lat in degrees of second point.
        lon2 - Lon in degrees of second point.
        Returns:
        Azimuth from North in 0 to 2π radians.
      • find

        public static final double find​(LatLonPoint point1,
                                        LatLonPoint point2)
        Forward azimuth in radians with North being 0 in clockwise direction.
        Parameters:
        point1 - LatLon Point in degrees.
        point2 - LatLon Point in degrees.
        Returns:
        Azimuth from North in 0 to 2π radians.
      • find

        public static final double find​(org.locationtech.jts.geom.Point point1,
                                        org.locationtech.jts.geom.Point point2)
        Forward azimuth in radians with North being 0 in clockwise direction.
        Parameters:
        point1 - Point in degrees.
        point2 - Point in degrees.
        Returns:
        Azimuth from North in 0 to 2π radians.
      • find

        public static final double find​(org.locationtech.jts.geom.Coordinate coord1,
                                        org.locationtech.jts.geom.Coordinate coord2)
        Forward azimuth in radians with North being 0 in clockwise direction.
        Parameters:
        coord1 - Point in degrees.
        coord2 - Point in degrees.
        Returns:
        Azimuth from North in 0 to 2π radians.