Uses of Class
org.openstreetmap.josm.gui.MapViewState.MapViewPoint
-
Packages that use MapViewState.MapViewPoint Package Description org.openstreetmap.josm.data.osm.visitor.paint Provides the classes for painting (rendering) OSM primitives on the map.org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.draw Provides GUI classes for 2D drawing in the map.org.openstreetmap.josm.gui.layer.imagery Provides classes for handling imagery background layers.org.openstreetmap.josm.gui.mappaint.styleelement.placement Label placement strategy for map paint styles. -
-
Uses of MapViewState.MapViewPoint in org.openstreetmap.josm.data.osm.visitor.paint
Fields in org.openstreetmap.josm.data.osm.visitor.paint declared as MapViewState.MapViewPoint Modifier and Type Field Description private MapViewState.MapViewPoint
OffsetIterator. prev
Fields in org.openstreetmap.josm.data.osm.visitor.paint with type parameters of type MapViewState.MapViewPoint Modifier and Type Field Description private java.util.List<MapViewState.MapViewPoint>
OffsetIterator. nodes
Methods in org.openstreetmap.josm.data.osm.visitor.paint that return MapViewState.MapViewPoint Modifier and Type Method Description private MapViewState.MapViewPoint
OffsetIterator. getForIndex(int i)
MapViewState.MapViewPoint
OffsetIterator. next()
Methods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type MapViewState.MapViewPoint Modifier and Type Method Description private static void
StyledMapRenderer. appendOnewayPath(boolean onewayReversed, MapViewState.MapViewPoint p1, double nx, double ny, double dist, double onewaySize, java.awt.geom.Path2D onewayPath)
protected void
AbstractMapRenderer. drawOrderNumber(MapViewState.MapViewPoint p1, MapViewState.MapViewPoint p2, int orderNumber, java.awt.Color clr)
Draw an number of the order of the two consecutive nodes within the parents wayprotected void
WireframeMapRenderer. drawSegment(MapPath2D path, MapViewState.MapViewPoint mv1, MapViewState.MapViewPoint mv2, boolean showDirection)
Draw a line with the given color.protected void
WireframeMapRenderer. drawSegment(MapViewState.MapViewPoint p1, MapViewState.MapViewPoint p2, java.awt.Color col, boolean showDirection)
Draw a line with the given color.static boolean
AbstractMapRenderer. isLargeSegment(MapViewState.MapViewPoint p1, MapViewState.MapViewPoint p2, int space)
Checks if a way segment is large enough for additional information display.protected boolean
AbstractMapRenderer. isSegmentVisible(MapViewState.MapViewPoint p1, MapViewState.MapViewPoint p2)
Checks if segment is visible in display.protected boolean
AbstractMapRenderer. isSegmentVisible(MapViewState.MapViewPoint p1, MapViewState.MapViewPoint p2, MapViewState.MapViewRectangle view)
Checks if segment is visible in display.void
ArrowPaintHelper. paintArrowAt(MapPath2D path, MapViewState.MapViewPoint point, MapViewState.MapViewPoint fromDirection)
Paint the arrowConstructor parameters in org.openstreetmap.josm.data.osm.visitor.paint with type arguments of type MapViewState.MapViewPoint Constructor Description OffsetIterator(java.util.List<MapViewState.MapViewPoint> nodes, double offset)
Creates a new offset iterator -
Uses of MapViewState.MapViewPoint in org.openstreetmap.josm.gui
Subclasses of MapViewState.MapViewPoint in org.openstreetmap.josm.gui Modifier and Type Class Description private class
MapViewState.MapViewEastNorthPoint
private class
MapViewState.MapViewViewPoint
Fields in org.openstreetmap.josm.gui declared as MapViewState.MapViewPoint Modifier and Type Field Description private MapViewState.MapViewPoint
MapMover. mousePosMoveStart
The point in the map that was the under the mouse point when moving around started.private MapViewState.MapViewPoint
MapViewState.MapViewRectangle. p1
private MapViewState.MapViewPoint
MapViewState.MapViewRectangle. p2
Methods in org.openstreetmap.josm.gui that return MapViewState.MapViewPoint Modifier and Type Method Description MapViewState.MapViewPoint
MapViewState.MapViewPoint. add(EastNorth en)
Add the given offset to this pointMapViewState.MapViewPoint
MapViewState. getCenter()
Gets the center of the view.MapViewState.MapViewPoint
MapViewState. getForView(double x, double y)
Gets the MapViewPoint representation for a position in view coordinates.MapViewState.MapViewPoint
MapViewState.MapViewRectangle. getLineEntry(MapViewState.MapViewPoint start, MapViewState.MapViewPoint end)
Gets the entry point at which a line between start and end enters the current view.MapViewState.MapViewPoint
MapViewState. getPointFor(EastNorth eastNorth)
Gets theMapViewState.MapViewPoint
for the givenEastNorth
coordinate.MapViewState.MapViewPoint
MapViewState. getPointFor(ILatLon latlon)
Gets theMapViewState.MapViewPoint
for the givenLatLon
coordinate.MapViewState.MapViewPoint
MapViewState. getPointFor(LatLon latlon)
Gets theMapViewState.MapViewPoint
for the givenLatLon
coordinate.MapViewState.MapViewPoint
MapViewState. getPointFor(Node node)
Gets theMapViewState.MapViewPoint
for the given node.MapViewState.MapViewPoint
MapViewState.MapViewPoint. interpolate(MapViewState.MapViewPoint p1, double i)
Do a linear interpolation to the other pointMethods in org.openstreetmap.josm.gui with parameters of type MapViewState.MapViewPoint Modifier and Type Method Description double
MapViewState.MapViewPoint. distanceToInView(MapViewState.MapViewPoint p2)
Gets the distance between this point and an other point.double
MapViewState.MapViewPoint. distanceToInViewSq(MapViewState.MapViewPoint p2)
Gets the squared distance between this point and an other point.MapViewState.MapViewPoint
MapViewState.MapViewRectangle. getLineEntry(MapViewState.MapViewPoint start, MapViewState.MapViewPoint end)
Gets the entry point at which a line between start and end enters the current view.MapViewState.MapViewPoint
MapViewState.MapViewPoint. interpolate(MapViewState.MapViewPoint p1, double i)
Do a linear interpolation to the other pointMapViewState
MapViewState. movedTo(MapViewState.MapViewPoint mapViewPoint, EastNorth newEastNorthThere)
Creates a new state that is moved to an east/north coordinate.double
MapViewState.MapViewPoint. oneNormInView(MapViewState.MapViewPoint p2)
Gets the sum of the x/y view distances between the points.MapViewState.MapViewRectangle
MapViewState.MapViewPoint. rectTo(MapViewState.MapViewPoint other)
Create a rectangle from this to the other point.Constructors in org.openstreetmap.josm.gui with parameters of type MapViewState.MapViewPoint Constructor Description MapViewRectangle(MapViewState.MapViewPoint p1, MapViewState.MapViewPoint p2)
Create a new MapViewRectangle -
Uses of MapViewState.MapViewPoint in org.openstreetmap.josm.gui.draw
Fields in org.openstreetmap.josm.gui.draw declared as MapViewState.MapViewPoint Modifier and Type Field Description private MapViewState.MapViewPoint
MapViewPath.ClampingPathVisitor. cursor
private MapViewState.MapViewPoint
MapViewPath.LineVisitor. last
private MapViewState.MapViewPoint
MapViewPath.AbstractMapPathVisitor. lastMoveTo
private MapViewState.MapViewPoint
MapViewPositionAndRotation. point
Fields in org.openstreetmap.josm.gui.draw with type parameters of type MapViewState.MapViewPoint Modifier and Type Field Description private java.util.ArrayList<MapViewState.MapViewPoint>
MapViewPath.OffsetPathVisitor. points
Methods in org.openstreetmap.josm.gui.draw that return MapViewState.MapViewPoint Modifier and Type Method Description private MapViewState.MapViewPoint
MapViewPath.ClampingPathVisitor. alignStrokeOffset(MapViewState.MapViewPoint entry, MapViewState.MapViewPoint originalStart)
MapViewState.MapViewPoint
MapViewPositionAndRotation. getPoint()
Gets the point.Methods in org.openstreetmap.josm.gui.draw with parameters of type MapViewState.MapViewPoint Modifier and Type Method Description void
MapViewPath.PathSegmentConsumer. addLineBetween(double inLineOffset, MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, boolean startIsOldEnd)
Add a line segment between two pointsprivate MapViewState.MapViewPoint
MapViewPath.ClampingPathVisitor. alignStrokeOffset(MapViewState.MapViewPoint entry, MapViewState.MapViewPoint originalStart)
MapPath2D
MapPath2D. lineTo(MapViewState.MapViewPoint p)
Draw a line to the view position of given pointMapViewPath
MapViewPath. lineTo(MapViewState.MapViewPoint p)
MapPath2D
MapPath2D. moveTo(MapViewState.MapViewPoint p)
Move the path to the view position of given pointMapViewPath
MapViewPath. moveTo(MapViewState.MapViewPoint p)
MapPath2D
MapPath2D. shapeAround(MapViewState.MapViewPoint p, SymbolShape symbol, double size)
Add the given shape centered around the given pointMapViewPath
MapViewPath. shapeAround(MapViewState.MapViewPoint p, SymbolShape symbol, double size)
(package private) abstract void
MapViewPath.AbstractMapPathVisitor. visitLineTo(MapViewState.MapViewPoint p)
(package private) void
MapViewPath.ClampingPathVisitor. visitLineTo(MapViewState.MapViewPoint next)
(package private) void
MapViewPath.LineVisitor. visitLineTo(MapViewState.MapViewPoint p)
(package private) void
MapViewPath.OffsetPathVisitor. visitLineTo(MapViewState.MapViewPoint p)
(package private) abstract void
MapViewPath.AbstractMapPathVisitor. visitMoveTo(MapViewState.MapViewPoint p)
(package private) void
MapViewPath.ClampingPathVisitor. visitMoveTo(MapViewState.MapViewPoint point)
(package private) void
MapViewPath.LineVisitor. visitMoveTo(MapViewState.MapViewPoint p)
(package private) void
MapViewPath.OffsetPathVisitor. visitMoveTo(MapViewState.MapViewPoint p)
Constructors in org.openstreetmap.josm.gui.draw with parameters of type MapViewState.MapViewPoint Constructor Description MapViewPositionAndRotation(MapViewState.MapViewPoint point, double theta)
Create a newMapViewPositionAndRotation
-
Uses of MapViewState.MapViewPoint in org.openstreetmap.josm.gui.layer.imagery
Methods in org.openstreetmap.josm.gui.layer.imagery that return MapViewState.MapViewPoint Modifier and Type Method Description private MapViewState.MapViewPoint
TileCoordinateConverter. pos(org.openstreetmap.gui.jmapviewer.interfaces.ICoordinate ll)
private MapViewState.MapViewPoint
TileCoordinateConverter. pos(org.openstreetmap.gui.jmapviewer.interfaces.IProjected p)
-
Uses of MapViewState.MapViewPoint in org.openstreetmap.josm.gui.mappaint.styleelement.placement
Fields in org.openstreetmap.josm.gui.mappaint.styleelement.placement declared as MapViewState.MapViewPoint Modifier and Type Field Description private MapViewState.MapViewPoint
OnLineStrategy.HalfSegment. end
end point of half segmentprivate MapViewState.MapViewPoint
OnLineStrategy.HalfSegment. start
start point of half segmentMethods in org.openstreetmap.josm.gui.mappaint.styleelement.placement with parameters of type MapViewState.MapViewPoint Modifier and Type Method Description void
OnLineStrategy.GlyphRotatingVisitor. addLineBetween(double inLineOffset, MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, boolean startIsOldEnd)
void
OnLineStrategy.UpsideComputingVisitor. addLineBetween(double inLineOffset, MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, boolean startIsOldEnd)
private static double
OnLineStrategy. computeQuality(MapViewState.MapViewPoint p1, MapViewState.MapViewPoint p2)
private static double
OnLineStrategy. theta(MapViewState.MapViewPoint start, MapViewState.MapViewPoint end)
Constructors in org.openstreetmap.josm.gui.mappaint.styleelement.placement with parameters of type MapViewState.MapViewPoint Constructor Description HalfSegment(MapViewState.MapViewPoint start, MapViewState.MapViewPoint end, double quality, double offset)
Create a new half segment
-