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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the x coordinate in view space without creating an intermediate object.doubleGet the y coordinate in view space without creating an intermediate object.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
-
Field Details
-
x
-
y
-
-
Constructor Details
-
MapViewViewPoint
MapViewViewPoint(double x, double y)
-
-
Method Details
-
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
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
-
toString
-