Class MapPoint

java.lang.Object
it.tidalwave.mapviewer.MapPoint
All Implemented Interfaces:
Cartesian

public final class MapPoint extends Object implements Cartesian
This class represents a point on the map representing the world. (0, 0) corresponds to the crossing between the equator and the Greenwich meridian.
Author:
Fabrizio Giudici
See Also:
  • Constructor Details Link icon

    • MapPoint Link icon

      public MapPoint()
  • Method Details Link icon

    • translated Link icon

      @Nonnull public MapPoint translated(double dx, double dy)
      Returns a point translated of the specified amount..
      Parameters:
      dx - the horizontal translation
      dy - the vertical translation
      Returns:
      a point translated of the specified amount
    • toString Link icon

      @Nonnull public String toString()
      Overrides:
      toString in class Object