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

    • MapPoint

      public MapPoint()
  • Method Details

    • translated

      @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

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