Package org.openstreetmap.josm.gui
Class MapViewState.MapViewViewPoint
- java.lang.Object
-
- org.openstreetmap.josm.gui.MapViewState.MapViewPoint
-
- org.openstreetmap.josm.gui.MapViewState.MapViewViewPoint
-
- Enclosing class:
- MapViewState
private class MapViewState.MapViewViewPoint extends MapViewState.MapViewPoint
-
-
Constructor Summary
Constructors Constructor Description MapViewViewPoint(double x, double y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, getEastNorth, getInView, getInWindow, getLatLon, getLatLonClamped, getMapViewState, getOnScreen, getOutsideRectangleFlags, interpolate, isInView, oneNormInView, rectTo
-
-
-
-
Constructor Detail
-
MapViewViewPoint
MapViewViewPoint(double x, double y)
-
-
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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-