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.
|
Modifier and Type | Field and Description |
---|---|
private MapViewState.MapViewPoint |
OffsetIterator.prev |
Modifier and Type | Field and Description |
---|---|
private java.util.List<MapViewState.MapViewPoint> |
OffsetIterator.nodes |
Modifier and Type | Method and Description |
---|---|
private MapViewState.MapViewPoint |
OffsetIterator.getForIndex(int i) |
MapViewState.MapViewPoint |
OffsetIterator.next() |
Modifier and Type | Method and Description |
---|---|
private static void |
StyledMapRenderer.appendOnewayPath(boolean onewayReversed,
MapViewState.MapViewPoint p1,
double nx,
double ny,
double dist,
double onewaySize,
java.awt.geom.Path2D onewayPath) |
private void |
StyledMapRenderer.drawIcon(MapViewState.MapViewPoint p,
MapImage img,
boolean disabled,
boolean selected,
boolean member,
double theta,
java.util.function.BiConsumer<java.awt.Graphics2D,java.awt.geom.Rectangle2D> selectionDrawer) |
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 way
|
protected 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 segemnt is large enough for additional information display.
|
protected boolean |
AbstractMapRenderer.isSegmentVisible(MapViewState.MapViewPoint p1,
MapViewState.MapViewPoint p2)
Checks if segment is visible in display.
|
void |
ArrowPaintHelper.paintArrowAt(MapPath2D path,
MapViewState.MapViewPoint point,
MapViewState.MapViewPoint fromDirection)
Paint the arrow
|
Constructor and Description |
---|
OffsetIterator(java.util.List<MapViewState.MapViewPoint> nodes,
double offset)
Creates a new offset iterator
|
Modifier and Type | Class and Description |
---|---|
private class |
MapViewState.MapViewEastNorthPoint |
private class |
MapViewState.MapViewViewPoint |
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
MapViewState.MapViewPoint |
MapViewState.MapViewPoint.add(EastNorth en)
Add the given offset to this point
|
MapViewState.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 the
MapViewState.MapViewPoint for the given EastNorth coordinate. |
MapViewState.MapViewPoint |
MapViewState.getPointFor(ILatLon latlon)
Gets the
MapViewState.MapViewPoint for the given LatLon coordinate. |
MapViewState.MapViewPoint |
MapViewState.getPointFor(LatLon latlon)
Gets the
MapViewState.MapViewPoint for the given LatLon coordinate. |
MapViewState.MapViewPoint |
MapViewState.getPointFor(Node node)
Gets the
MapViewState.MapViewPoint for the given node. |
MapViewState.MapViewPoint |
MapViewState.MapViewPoint.interpolate(MapViewState.MapViewPoint p1,
double i)
Do a linear interpolation to the other point
|
Modifier and Type | Method and 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 point
|
MapViewState |
MapViewState.movedTo(MapViewState.MapViewPoint mapViewPoint,
EastNorth newEastNorthThere) |
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.
|
Constructor and Description |
---|
MapViewRectangle(MapViewState.MapViewPoint p1,
MapViewState.MapViewPoint p2)
Create a new MapViewRectangle
|
Modifier and Type | Field and Description |
---|---|
private MapViewState.MapViewPoint |
MapViewPath.ClampingPathVisitor.cursor |
private MapViewState.MapViewPoint |
MapViewPath.LineVisitor.last |
private MapViewState.MapViewPoint |
MapViewPath.AbstractMapPathVisitor.lastMoveTo |
private MapViewState.MapViewPoint |
MapViewPositionAndRotation.point |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<MapViewState.MapViewPoint> |
MapViewPath.OffsetPathVisitor.points |
Modifier and Type | Method and Description |
---|---|
private MapViewState.MapViewPoint |
MapViewPath.ClampingPathVisitor.alignStrokeOffset(MapViewState.MapViewPoint entry,
MapViewState.MapViewPoint originalStart) |
MapViewState.MapViewPoint |
MapViewPositionAndRotation.getPoint()
Gets the point.
|
Modifier and Type | Method and Description |
---|---|
void |
MapViewPath.PathSegmentConsumer.addLineBetween(double inLineOffset,
MapViewState.MapViewPoint start,
MapViewState.MapViewPoint end,
boolean startIsOldEnd)
Add a line segment between two points
|
private 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 point
|
MapViewPath |
MapViewPath.lineTo(MapViewState.MapViewPoint p) |
MapPath2D |
MapPath2D.moveTo(MapViewState.MapViewPoint p)
Move the path to the view position of given point
|
MapViewPath |
MapViewPath.moveTo(MapViewState.MapViewPoint p) |
MapPath2D |
MapPath2D.shapeAround(MapViewState.MapViewPoint p,
SymbolShape symbol,
double size)
Add the given shape centered around the given point
|
MapViewPath |
MapViewPath.shapeAround(MapViewState.MapViewPoint p,
SymbolShape symbol,
double size) |
(package private) abstract void |
MapViewPath.AbstractMapPathVisitor.visitLineTo(MapViewState.MapViewPoint p) |
(package private) void |
MapViewPath.LineVisitor.visitLineTo(MapViewState.MapViewPoint p) |
(package private) void |
MapViewPath.ClampingPathVisitor.visitLineTo(MapViewState.MapViewPoint next) |
(package private) void |
MapViewPath.OffsetPathVisitor.visitLineTo(MapViewState.MapViewPoint p) |
(package private) abstract void |
MapViewPath.AbstractMapPathVisitor.visitMoveTo(MapViewState.MapViewPoint p) |
(package private) void |
MapViewPath.LineVisitor.visitMoveTo(MapViewState.MapViewPoint p) |
(package private) void |
MapViewPath.ClampingPathVisitor.visitMoveTo(MapViewState.MapViewPoint point) |
(package private) void |
MapViewPath.OffsetPathVisitor.visitMoveTo(MapViewState.MapViewPoint p) |
Constructor and Description |
---|
MapViewPositionAndRotation(MapViewState.MapViewPoint point,
double theta)
Create a new
MapViewPositionAndRotation |
Modifier and Type | Method and Description |
---|---|
private MapViewState.MapViewPoint |
TileCoordinateConverter.pos(ICoordinate ll) |
private MapViewState.MapViewPoint |
TileCoordinateConverter.pos(IProjected p) |
Modifier and Type | Field and Description |
---|---|
private MapViewState.MapViewPoint |
OnLineStrategy.HalfSegment.end
end point of half segment
|
private MapViewState.MapViewPoint |
OnLineStrategy.HalfSegment.start
start point of half segment
|
Modifier and Type | Method and Description |
---|---|
void |
OnLineStrategy.UpsideComputingVisitor.addLineBetween(double inLineOffset,
MapViewState.MapViewPoint start,
MapViewState.MapViewPoint end,
boolean startIsOldEnd) |
void |
OnLineStrategy.GlyphRotatingVisitor.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) |
Constructor and Description |
---|
HalfSegment(MapViewState.MapViewPoint start,
MapViewState.MapViewPoint end,
double quality,
double offset)
Create a new half segment
|