Package org.openstreetmap.josm.gui
Class MapViewState.MapViewEastNorthPoint
- java.lang.Object
-
- org.openstreetmap.josm.gui.MapViewState.MapViewPoint
-
- org.openstreetmap.josm.gui.MapViewState.MapViewEastNorthPoint
-
- Enclosing class:
- MapViewState
private class MapViewState.MapViewEastNorthPoint extends MapViewState.MapViewPoint
-
-
Constructor Summary
Constructors Constructor Description MapViewEastNorthPoint(EastNorth eastNorth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EastNorth
getEastNorth()
Gets theEastNorth
coordinate of this point.double
getInViewX()
Get the x coordinate in view space without creating an intermediate object.double
getInViewY()
Get the y coordinate in view space without creating an intermediate object.java.lang.String
toString()
-
Methods inherited from class org.openstreetmap.josm.gui.MapViewState.MapViewPoint
add, distanceToInView, distanceToInViewSq, getInView, getInWindow, getLatLon, getLatLonClamped, getMapViewState, getOnScreen, getOutsideRectangleFlags, interpolate, isInView, oneNormInView, rectTo
-
-
-
-
Constructor Detail
-
MapViewEastNorthPoint
MapViewEastNorthPoint(EastNorth eastNorth)
-
-
Method Detail
-
getInViewX
public double getInViewX()
Description copied from class:MapViewState.MapViewPoint
Get the x coordinate in view space without creating an intermediate object.- Specified by:
getInViewX
in classMapViewState.MapViewPoint
- Returns:
- The x coordinate
-
getInViewY
public double getInViewY()
Description copied from class:MapViewState.MapViewPoint
Get the y coordinate in view space without creating an intermediate object.- Specified by:
getInViewY
in classMapViewState.MapViewPoint
- Returns:
- The y coordinate
-
getEastNorth
public EastNorth getEastNorth()
Description copied from class:MapViewState.MapViewPoint
Gets theEastNorth
coordinate of this point.- Overrides:
getEastNorth
in classMapViewState.MapViewPoint
- Returns:
- The east/north coordinate.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-