java.lang.Object
org.apache.jena.geosparql.implementation.great_circle.Angle

public class Angle extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static final double
    find(double x1, double y1, double x2, double y2)
    Angle in radians with y-axis being 0 in clockwise direction.
    static final double
    find(LatLonPoint point1, LatLonPoint point2)
    Angle in radians with y-axis being 0 in clockwise direction.
    LatLon Point may be more useful using Azimuth.
    static final double
    find(org.locationtech.jts.geom.Coordinate coord1, org.locationtech.jts.geom.Coordinate coord2)
    Angle in radians with y-axis being 0 in clockwise direction.
    static final double
    find(org.locationtech.jts.geom.Point point1, org.locationtech.jts.geom.Point point2)
    Angle in radians with y-axis being 0 in clockwise direction.

    Methods inherited from class java.lang.Object

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

    • Angle

      public Angle()
  • Method Details

    • find

      public static final double find(double x1, double y1, double x2, double y2)
      Angle in radians with y-axis being 0 in clockwise direction.
      Parameters:
      x1 -
      y1 -
      x2 -
      y2 -
      Returns:
      Angle from y-axis in 0 to 2π radians.
    • find

      public static final double find(LatLonPoint point1, LatLonPoint point2)
      Angle in radians with y-axis being 0 in clockwise direction.
      LatLon Point may be more useful using Azimuth.
      Parameters:
      point1 - LatLon Point in degrees.
      point2 - LatLon Point in degrees.
      Returns:
      Angle from y-axis in 0 to 2π radians.
    • find

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

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