Interface CoordinateShifter


public interface CoordinateShifter
ShifterManager allows the movement of all Point objects according to a custom algorithm. Once set, it will be applied to all Point objects created through this method.
Since:
4.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    shiftLonLat(double lon, double lat)
    Shifted coordinate values according to its algorithm.
    shiftLonLatAlt(double lon, double lat, double altitude)
    Shifted coordinate values according to its algorithm.
    unshiftPoint(Point shiftedPoint)
    Unshifted coordinate values according to its algorithm.
    unshiftPoint(List<Double> shiftedCoordinates)
    Unshifted coordinate values according to its algorithm.
  • Method Details

    • shiftLonLat

      List<Double> shiftLonLat(double lon, double lat)
      Shifted coordinate values according to its algorithm.
      Parameters:
      lon - unshifted longitude
      lat - unshifted latitude
      Returns:
      shifted longitude, shifted latitude in the form of a List of Double values
      Since:
      4.2.0
    • shiftLonLatAlt

      List<Double> shiftLonLatAlt(double lon, double lat, double altitude)
      Shifted coordinate values according to its algorithm.
      Parameters:
      lon - unshifted longitude
      lat - unshifted latitude
      altitude - unshifted altitude
      Returns:
      shifted longitude, shifted latitude, shifted altitude in the form of a List of Double values
      Since:
      4.2.0
    • unshiftPoint

      List<Double> unshiftPoint(Point shiftedPoint)
      Unshifted coordinate values according to its algorithm.
      Parameters:
      shiftedPoint - shifted point
      Returns:
      unshifted longitude, shifted latitude, and altitude (if present) in the form of List of Double
      Since:
      4.2.0
    • unshiftPoint

      List<Double> unshiftPoint(List<Double> shiftedCoordinates)
      Unshifted coordinate values according to its algorithm.
      Parameters:
      shiftedCoordinates - shifted point
      Returns:
      unshifted longitude, shifted latitude, and altitude (if present) in the form of List of Double
      Since:
      4.2.0