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 EastNorthgetEastNorth()Gets theEastNorthcoordinate of this point.doublegetInViewX()Get the x coordinate in view space without creating an intermediate object.doublegetInViewY()Get the y coordinate in view space without creating an intermediate object.java.lang.StringtoString()-
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.MapViewPointGet the x coordinate in view space without creating an intermediate object.- Specified by:
getInViewXin classMapViewState.MapViewPoint- Returns:
- The x coordinate
-
getInViewY
public double getInViewY()
Description copied from class:MapViewState.MapViewPointGet the y coordinate in view space without creating an intermediate object.- Specified by:
getInViewYin classMapViewState.MapViewPoint- Returns:
- The y coordinate
-
getEastNorth
public EastNorth getEastNorth()
Description copied from class:MapViewState.MapViewPointGets theEastNorthcoordinate of this point.- Overrides:
getEastNorthin classMapViewState.MapViewPoint- Returns:
- The east/north coordinate.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-