Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map modes . |
org.openstreetmap.josm.command |
Provides the classes for JOSM commands allowing to modify an OSM data set.
|
org.openstreetmap.josm.data |
Provides the classes for JOSM managed data.
|
org.openstreetmap.josm.data.coor |
Provides the classes for geographic
coordinates
(east/north and lat/lon systems). |
org.openstreetmap.josm.data.gpx |
Provides the classes for JOSM
GPX data (points, tracks, routes). |
org.openstreetmap.josm.data.imagery |
Provides the classes for JOSM imagery sources, coupled with
JMapViewer classes. |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.osm.visitor |
Provides the classes for performing actions on OSM primitives using Visitor design pattern.
|
org.openstreetmap.josm.data.osm.visitor.paint |
Provides the classes for painting (rendering) OSM primitives on the map.
|
org.openstreetmap.josm.data.projection |
Provides the classes for JOSM map projection.
|
org.openstreetmap.josm.data.validation.tests |
Provides the classes for JOSM data validation tests.
|
org.openstreetmap.josm.data.validation.util |
Provides utilities classes for JOSM data validation.
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.datatransfer |
Provides the classes for transferring data using cut/copy/paste operations.
|
org.openstreetmap.josm.gui.datatransfer.data |
Provides the classes for defining the serializable data transferred using cut/copy/paste operations.
|
org.openstreetmap.josm.gui.datatransfer.importers |
Provides the classes for the transfer support controllers allowing cut/copy/paste operations.
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.draw |
Provides GUI classes for 2D drawing in the map.
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.layer.imagery |
Provides classes for handling imagery background layers.
|
org.openstreetmap.josm.gui.layer.markerlayer |
Provides classes for handling marker layers.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Field and Description |
---|---|
private EastNorth |
ImageryAdjustAction.prevEastNorth |
private EastNorth |
JoinNodeWayAction.NodeDistanceToRefNodeComparator.refPoint |
private EastNorth |
JoinNodeWayAction.NodeDistanceToRefNodeComparator.refPoint2 |
EastNorth |
OrthogonalizeAction.WayData.segSum
(Vector-)sum of all horizontal segments plus the sum of all vertical
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<Node,EastNorth> |
OrthogonalizeAction.rememberMovements
Remember movements, so the user can later undo it for certain nodes
|
Modifier and Type | Method and Description |
---|---|
protected EastNorth |
PasteAtSourcePositionAction.computePastePosition(java.awt.event.ActionEvent e) |
protected EastNorth |
AbstractPasteAction.computePastePosition(java.awt.event.ActionEvent e)
Compute the location the objects should be pasted at.
|
static EastNorth |
OrthogonalizeAction.EN.diff(EastNorth en1,
EastNorth en2) |
static EastNorth |
OrthogonalizeAction.EN.rotateCC(EastNorth pivot,
EastNorth en,
double angle)
Rotate counter-clock-wise.
|
static EastNorth |
OrthogonalizeAction.EN.sum(EastNorth en1,
EastNorth en2) |
Modifier and Type | Method and Description |
---|---|
static EastNorth |
OrthogonalizeAction.EN.diff(EastNorth en1,
EastNorth en2) |
static OsmPrimitive |
SelectByInternalPointAction.getSmallestSurroundingObject(EastNorth internalPoint)
Returns the smallest surrounding polygon/multipolygon which contains the internal point.
|
static java.util.Collection<OsmPrimitive> |
SelectByInternalPointAction.getSurroundingObjects(DataSet ds,
EastNorth internalPoint,
boolean includeMultipolygonWays)
Returns the surrounding polygons/multipolygons ordered by their area size (from small to large)
which contain the internal point.
|
static java.util.Collection<OsmPrimitive> |
SelectByInternalPointAction.getSurroundingObjects(EastNorth internalPoint)
Returns the surrounding polygons/multipolygons ordered by their area size (from small to large)
which contain the internal point.
|
static void |
SelectByInternalPointAction.performSelection(EastNorth internalPoint,
boolean doAdd,
boolean doRemove)
Select a polygon or multipolygon by an internal point.
|
static double |
OrthogonalizeAction.EN.polar(EastNorth en1,
EastNorth en2) |
static EastNorth |
OrthogonalizeAction.EN.rotateCC(EastNorth pivot,
EastNorth en,
double angle)
Rotate counter-clock-wise.
|
static EastNorth |
OrthogonalizeAction.EN.sum(EastNorth en1,
EastNorth en2) |
Constructor and Description |
---|
PolarNode(EastNorth center,
Node n) |
Modifier and Type | Field and Description |
---|---|
private EastNorth |
DrawAction.currentMouseEastNorth |
(package private) EastNorth |
DrawSnapHelper.dir2 |
EastNorth |
ExtrudeAction.ReferenceSegment.en |
private EastNorth |
ParallelWayAction.helperLineEnd |
private EastNorth |
ParallelWayAction.helperLineStart |
private EastNorth |
ExtrudeAction.initialN1en
The initial EastNorths of node1 and node2
|
private EastNorth |
ExtrudeAction.initialN2en |
private EastNorth |
ExtrudeAction.newN1en
The new EastNorths of node1 and node2
|
private EastNorth |
ExtrudeAction.newN2en |
private EastNorth[] |
ParallelWays.normals |
EastNorth |
ExtrudeAction.ReferenceSegment.p1 |
EastNorth |
ExtrudeAction.ReferenceSegment.p2 |
private EastNorth |
DrawSnapHelper.projected |
private EastNorth |
DrawSnapHelper.projectionSource |
private EastNorth[] |
ParallelWays.pts |
private EastNorth |
DrawSnapHelper.segmentPoint1 |
private EastNorth |
DrawSnapHelper.segmentPoint2 |
private EastNorth |
SelectAction.startEN
point where user pressed the mouse to start movement
|
Modifier and Type | Method and Description |
---|---|
private EastNorth |
ExtrudeAction.calculateBestMovement(EastNorth mouseEn)
Determines best movement from
ExtrudeAction.initialMousePos to current mouse position,
choosing one of the directions from ExtrudeAction.possibleMoveDirections . |
private EastNorth |
ExtrudeAction.calculateBestMovementAndNewNodes(EastNorth mouseEn)
Calculate newN1en, newN2en best suitable for given mouse coordinates
For dual align, calculates positions of new nodes, aligning them to neighboring segments.
|
private static EastNorth |
ExtrudeAction.calculateSegmentOffset(EastNorth segmentP1,
EastNorth segmentP2,
EastNorth moveDirection,
EastNorth targetPos)
This method calculates offset amount by which to move the given segment
perpendicularly for it to be in line with mouse position.
|
EastNorth |
DrawSnapHelper.getSnapPoint(EastNorth p)
Gets a snap point close to p.
|
Modifier and Type | Method and Description |
---|---|
private EastNorth |
ExtrudeAction.calculateBestMovement(EastNorth mouseEn)
Determines best movement from
ExtrudeAction.initialMousePos to current mouse position,
choosing one of the directions from ExtrudeAction.possibleMoveDirections . |
private EastNorth |
ExtrudeAction.calculateBestMovementAndNewNodes(EastNorth mouseEn)
Calculate newN1en, newN2en best suitable for given mouse coordinates
For dual align, calculates positions of new nodes, aligning them to neighboring segments.
|
private static EastNorth |
ExtrudeAction.calculateSegmentOffset(EastNorth segmentP1,
EastNorth segmentP2,
EastNorth moveDirection,
EastNorth targetPos)
This method calculates offset amount by which to move the given segment
perpendicularly for it to be in line with mouse position.
|
void |
DrawSnapHelper.checkAngleSnapping(EastNorth currentEN,
double baseHeading,
double curHeading)
If mouse position is close to line at 15-30-45-...
|
private void |
SelectAction.VirtualManager.createMiddleNodeFromVirtual(EastNorth currentEN) |
EastNorth |
DrawSnapHelper.getSnapPoint(EastNorth p)
Gets a snap point close to p.
|
private static boolean |
ExtrudeAction.isOppositeDirection(EastNorth from1,
EastNorth to1,
EastNorth from2,
EastNorth to2)
Determines if from1-to1 and from2-to2 vectors directions are opposite
|
private boolean |
SelectAction.updateCommandWhileDragging(EastNorth currentEN)
Create or update data modification command while dragging mouse - implementation of
continuous moving, scaling and rotation
|
Constructor and Description |
---|
ReferenceSegment(EastNorth en,
EastNorth p1,
EastNorth p2,
boolean perpendicular) |
Modifier and Type | Field and Description |
---|---|
private EastNorth |
Command.OldNodeState.eastNorth |
private EastNorth |
ScaleCommand.pivot
Pivot point
|
private EastNorth |
RotateCommand.pivot
Pivot point
|
private EastNorth |
ScaleCommand.startEN
World position of the mouse when the user started the command.
|
private EastNorth |
MoveCommand.startEN
Starting position, base command point, current (mouse-drag) position = startEN + (x,y) =
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
Command.OldNodeState.getEastNorth()
Returns old east/north.
|
EastNorth |
TransformNodesCommand.getNodesCenter()
Get the center of the nodes under modification.
|
protected EastNorth |
MoveCommand.getOffset()
Gets the offset.
|
Modifier and Type | Method and Description |
---|---|
void |
MoveCommand.applyVectorTo(EastNorth currentEN)
Change the displacement vector to have endpoint
currentEN . |
void |
MoveCommand.changeStartPoint(EastNorth newDraggedStartPoint)
Changes base point of movement
|
protected double |
RotateCommand.getAngle(EastNorth currentEN)
Get angle between the horizontal axis and the line formed by the pivot and given point.
|
void |
ScaleCommand.handleEvent(EastNorth currentEN)
Compute new scaling factor and transform nodes accordingly.
|
abstract void |
TransformNodesCommand.handleEvent(EastNorth currentEN)
Handling of a mouse event (e.g.
|
void |
RotateCommand.handleEvent(EastNorth currentEN)
Compute new rotation angle and transform nodes accordingly.
|
Constructor and Description |
---|
MoveCommand(java.util.Collection<OsmPrimitive> objects,
EastNorth offset)
Constructs a new
MoveCommand to move a collection of primitives. |
MoveCommand(java.util.Collection<OsmPrimitive> objects,
EastNorth start,
EastNorth end)
Constructs a new
MoveCommand to move a collection of primitives. |
MoveCommand(DataSet ds,
java.util.Collection<OsmPrimitive> objects,
EastNorth start,
EastNorth end)
Constructs a new
MoveCommand to move a collection of primitives. |
MoveCommand(DataSet ds,
OsmPrimitive p,
EastNorth start,
EastNorth end)
Constructs a new
MoveCommand to move a primitive. |
MoveCommand(OsmPrimitive p,
EastNorth start,
EastNorth end)
Constructs a new
MoveCommand to move a primitive. |
RotateCommand(java.util.Collection<? extends OsmPrimitive> objects,
EastNorth currentEN)
Creates a RotateCommand.
|
ScaleCommand(java.util.Collection<? extends OsmPrimitive> objects,
EastNorth currentEN)
Creates a ScaleCommand.
|
Modifier and Type | Field and Description |
---|---|
private EastNorth |
ViewportData.center |
Modifier and Type | Method and Description |
---|---|
EastNorth |
ProjectionBounds.getCenter()
Returns the center east/north.
|
EastNorth |
ViewportData.getCenter()
Return the projected coordinates of the map center
|
EastNorth |
ProjectionBounds.getMax()
Returns the max east/north.
|
EastNorth |
ProjectionBounds.getMin()
Returns the min east/north.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProjectionBounds.contains(EastNorth en)
Check, if a point is within the bounds.
|
void |
ProjectionBounds.extend(EastNorth e)
Extends bounds to include point
e . |
Constructor and Description |
---|
ProjectionBounds(EastNorth p)
Construct bounds out of a single point.
|
ProjectionBounds(EastNorth center,
double east,
double north)
Construct bounds out of a center point and east/north dimensions.
|
ProjectionBounds(EastNorth min,
EastNorth max)
Construct bounds out of two points.
|
ViewportData(EastNorth center,
java.lang.Double scale)
Constructs a new
ViewportData . |
Modifier and Type | Field and Description |
---|---|
private EastNorth |
CachedLatLon.eastNorth |
EastNorth |
PolarCoor.pole
Reference point (analogous to the origin of a Cartesian coordinate system).
|
static EastNorth |
EastNorth.ZERO
A zero constant
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
EastNorth.add(double dEast,
double dNorth)
Adds an offset to this
EastNorth instance and returns the result. |
EastNorth |
EastNorth.add(EastNorth other)
Adds the coordinates of an other EastNorth instance to this one.
|
EastNorth |
EastNorth.getCenter(EastNorth en2)
Gets the center between two
EastNorth instances. |
EastNorth |
CachedLatLon.getEastNorth(Projecting projecting)
Replies the projected east/north coordinates.
|
default EastNorth |
ILatLon.getEastNorth(Projecting projecting)
Replies the projected east/north coordinates.
|
EastNorth |
EastNorth.interpolate(EastNorth en2,
double proportion)
Does a linear interpolation between two EastNorth instances.
|
EastNorth |
EastNorth.rotate(EastNorth pivot,
double angle)
Returns an EastNorth representing the this EastNorth rotated around
a given EastNorth by a given angle
|
EastNorth |
EastNorth.scale(double s)
Scales this
EastNorth instance to a given factor and returns the result. |
EastNorth |
EastNorth.subtract(EastNorth other)
Subtracts an east/north value from this point.
|
EastNorth |
PolarCoor.toEastNorth()
Converts this
PolarCoor to an EastNorth instance. |
Modifier and Type | Method and Description |
---|---|
EastNorth |
EastNorth.add(EastNorth other)
Adds the coordinates of an other EastNorth instance to this one.
|
static double |
PolarCoor.computeAngle(EastNorth en,
EastNorth pole)
Compute polar angle between an east/north and the pole.
|
double |
EastNorth.distance(EastNorth en)
Returns the euclidean distance from this
EastNorth to a specified EastNorth . |
double |
EastNorth.distanceSq(EastNorth en)
Returns the square of the euclidean distance from this
EastNorth to a specified EastNorth . |
boolean |
EastNorth.equalsEpsilon(EastNorth other,
double e)
Compares two EastNorth values
|
EastNorth |
EastNorth.getCenter(EastNorth en2)
Gets the center between two
EastNorth instances. |
double |
EastNorth.heading(EastNorth other)
Returns the heading, in radians, that you have to use to get from
this EastNorth to another.
|
EastNorth |
EastNorth.interpolate(EastNorth en2,
double proportion)
Does a linear interpolation between two EastNorth instances.
|
EastNorth |
EastNorth.rotate(EastNorth pivot,
double angle)
Returns an EastNorth representing the this EastNorth rotated around
a given EastNorth by a given angle
|
EastNorth |
EastNorth.subtract(EastNorth other)
Subtracts an east/north value from this point.
|
Constructor and Description |
---|
CachedLatLon(EastNorth eastNorth)
Constructs a new
CachedLatLon . |
CachedLatLon(EastNorth eastNorth,
Projection projection) |
PolarCoor(double radius,
double angle,
EastNorth pole)
Constructs a new
PolarCoor . |
PolarCoor(EastNorth en)
|
PolarCoor(EastNorth en,
EastNorth pole)
Constructs a new
PolarCoor . |
Modifier and Type | Method and Description |
---|---|
EastNorth |
WayPoint.getEastNorth(Projecting projecting) |
Modifier and Type | Method and Description |
---|---|
static double |
GpxDistance.getDistanceEastNorth(EastNorth en,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistance(new Node(en), new Node(waypoint.getCoor())) instead |
WayPoint |
GpxData.nearestPointOnTrack(EastNorth p,
double tolerance)
Makes a WayPoint at the projection of point p onto the track providing p is less than
tolerance away from the track
|
Modifier and Type | Field and Description |
---|---|
private EastNorth |
AbstractWMSTileSource.anchorPosition |
private EastNorth |
WMTSTileSource.TileMatrix.topLeftCorner |
Modifier and Type | Method and Description |
---|---|
EastNorth |
OffsetBookmark.getDisplacement()
Get displacement in EastNorth coordinates of the original projection.
|
EastNorth |
OffsetBookmark.getDisplacement(Projection proj)
Get displacement in EastNorth coordinates of a given projection.
|
protected EastNorth |
AbstractWMSTileSource.getTileEastNorth(int x,
int y,
int z) |
static EastNorth |
CoordinateConversion.projToEn(IProjected p)
Converts an
IProjected to an EastNorth instance. |
private EastNorth |
WMTSTileSource.tileToEastNorth(int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
private TileXY |
AbstractWMSTileSource.eastNorthToTileXY(EastNorth enPoint,
int zoom) |
static IProjected |
CoordinateConversion.enToProj(EastNorth en)
Converts an
EastNorth to an IProjected instance. |
void |
OffsetBookmark.setDisplacement(EastNorth displacement)
Update the displacement of this imagery.
|
Constructor and Description |
---|
OffsetBookmark(java.lang.String projectionCode,
java.lang.String imageryId,
java.lang.String imageryName,
java.lang.String name,
EastNorth displacement,
ILatLon center)
Create a new
OffsetBookmark object |
Modifier and Type | Method and Description |
---|---|
default EastNorth |
INode.getEastNorth()
Replies the projected east/north coordinates.
|
EastNorth |
Node.getEastNorth(Projecting projection) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
DataSet.fireNodeMoved(Node node,
LatLon newCoor,
EastNorth eastNorth) |
(package private) void |
Node.setCoorInternal(LatLon coor,
EastNorth eastNorth)
To be used only by Dataset.reindexNode
|
void |
Node.setEastNorth(EastNorth eastNorth) |
void |
INode.setEastNorth(EastNorth eastNorth)
Sets east/north coordinates of this node.
|
void |
NodeData.setEastNorth(EastNorth eastNorth) |
private void |
Node.updateCoor(LatLon coor,
EastNorth eastNorth) |
Constructor and Description |
---|
Node(EastNorth eastNorth)
Constructs a new
Node with the given east/north with id 0. |
Modifier and Type | Method and Description |
---|---|
void |
BoundingXYVisitor.visit(EastNorth eastNorth)
Visiting call for east/north.
|
Modifier and Type | Method and Description |
---|---|
private static EastNorth |
StyledMapRenderer.getPFDisplacedEndPoint(EastNorth p1,
EastNorth p2,
EastNorth p3,
double extent)
Get the point to add to the clipping area for partial fill of unclosed polygons.
|
Modifier and Type | Method and Description |
---|---|
private static EastNorth |
StyledMapRenderer.getPFDisplacedEndPoint(EastNorth p1,
EastNorth p2,
EastNorth p3,
double extent)
Get the point to add to the clipping area for partial fill of unclosed polygons.
|
Modifier and Type | Field and Description |
---|---|
private EastNorth |
ShiftedProjecting.offset |
Modifier and Type | Field and Description |
---|---|
private java.util.EnumMap<CustomProjection.Polarity,EastNorth> |
CustomProjection.polesEN |
Modifier and Type | Method and Description |
---|---|
private static EastNorth |
CustomProjection.getPointAlong(int i,
int n,
ProjectionBounds r) |
private EastNorth |
CustomProjection.getPole(CustomProjection.Polarity whichPole) |
EastNorth |
Projecting.latlon2eastNorth(ILatLon ll)
Convert from lat/lon to easting/northing.
|
EastNorth |
AbstractProjection.latlon2eastNorth(ILatLon toConvert) |
EastNorth |
ShiftedProjecting.latlon2eastNorth(ILatLon ll) |
default EastNorth |
Projecting.latlon2eastNorth(LatLon ll)
Convert from lat/lon to easting/northing.
|
private EastNorth |
ProjectionCLI.parseEastNorth(java.lang.String s,
java.util.function.ToDoubleFunction<java.lang.String> parser) |
Modifier and Type | Method and Description |
---|---|
LatLon |
AbstractProjection.eastNorth2latlon(EastNorth en) |
LatLon |
Projection.eastNorth2latlon(EastNorth en)
Convert from easting/norting to lat/lon.
|
private LatLon |
AbstractProjection.eastNorth2latlon(EastNorth en,
java.util.function.DoubleUnaryOperator normalizeLon) |
LatLon |
Projecting.eastNorth2latlonClamped(EastNorth en)
Convert a east/north coordinate to the
LatLon coordinate. |
LatLon |
AbstractProjection.eastNorth2latlonClamped(EastNorth en) |
LatLon |
ShiftedProjecting.eastNorth2latlonClamped(EastNorth en) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractProjection.visitOutline(Bounds b,
java.util.function.Consumer<EastNorth> visitor) |
void |
Projection.visitOutline(Bounds bounds,
java.util.function.Consumer<EastNorth> visitor)
Visit points along the edge of this bounds instance.
|
private void |
AbstractProjection.visitOutline(Bounds b,
int nPoints,
java.util.function.Consumer<EastNorth> visitor) |
Constructor and Description |
---|
ShiftedProjecting(Projecting base,
EastNorth offset)
Create a new
ShiftedProjecting |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.util.List<WaySegment>> |
CrossingWays.getSegments(java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> cellSegments,
EastNorth n1,
EastNorth n2)
Returns all the cells this segment crosses.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.awt.geom.Point2D> |
ValUtil.getSegmentCells(EastNorth en1,
EastNorth en2,
double gridDetail)
Returns the coordinates of all cells in a grid that a line between 2 nodes intersects with.
|
Modifier and Type | Field and Description |
---|---|
private EastNorth |
NavigatableComponent.ZoomData.center |
private EastNorth |
MapViewState.MapViewEastNorthPoint.eastNorth |
private EastNorth |
MapViewState.topLeft
Top left
EastNorth coordinate of the view. |
Modifier and Type | Method and Description |
---|---|
private static EastNorth |
MapViewState.calculateDefaultCenter() |
EastNorth |
NavigatableComponent.getCenter()
Returns the current center of the viewport.
|
EastNorth |
NavigatableComponent.ZoomData.getCenterEastNorth() |
EastNorth |
MapViewState.MapViewPoint.getEastNorth()
Gets the
EastNorth coordinate of this point. |
EastNorth |
MapViewState.MapViewEastNorthPoint.getEastNorth() |
EastNorth |
NavigatableComponent.getEastNorth(int x,
int y) |
Modifier and Type | Method and Description |
---|---|
MapViewState.MapViewPoint |
MapViewState.MapViewPoint.add(EastNorth en)
Add the given offset to this point
|
java.awt.Point |
NavigatableComponent.getPoint(EastNorth p)
looses precision, may overflow (depends on p and current scale)
|
java.awt.geom.Point2D |
NavigatableComponent.getPoint2D(EastNorth p)
Return the point on the screen where this Coordinate would be.
|
MapViewState.MapViewPoint |
MapViewState.getPointFor(EastNorth eastNorth)
Gets the
MapViewState.MapViewPoint for the given EastNorth coordinate. |
MapViewState |
MapViewState.movedTo(MapViewState.MapViewPoint mapViewPoint,
EastNorth newEastNorthThere) |
private void |
NavigatableComponent.pushZoomUndo(EastNorth center,
double scale) |
void |
NavigatableComponent.smoothScrollTo(EastNorth newCenter)
Create a thread that moves the viewport to the given center in an animated fashion.
|
MapViewState |
MapViewState.usingCenter(EastNorth newCenter)
Creates a new state that is the same as the current state except for that it is using a new center.
|
private void |
NavigatableComponent.zoomNoUndoTo(EastNorth newCenter,
double newScale,
boolean initial)
Zoom to the given coordinate without adding to the zoom undo buffer.
|
void |
NavigatableComponent.zoomTo(EastNorth newCenter)
Zoom to given east/north.
|
void |
NavigatableComponent.zoomTo(EastNorth newCenter,
double newScale)
Zoom to the given coordinate and scale.
|
void |
NavigatableComponent.zoomTo(EastNorth center,
double scale,
boolean initial)
Zoom to the given coordinate and scale.
|
void |
NavigatableComponent.zoomToFactor(EastNorth newCenter,
double factor) |
Constructor and Description |
---|
MapViewEastNorthPoint(EastNorth eastNorth) |
MapViewState(EastNorth topLeft,
MapViewState mvs) |
MapViewState(Projecting projection,
int viewWidth,
int viewHeight,
double scale,
EastNorth topLeft) |
MapViewState(Projecting projection,
int viewWidth,
int viewHeight,
double scale,
EastNorth topLeft,
java.awt.Point topLeftInWindow,
java.awt.Point topLeftOnScreen)
Create a new
MapViewState |
ZoomData(EastNorth center,
double scale) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractStackTransferHandler.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth center) |
void |
OsmTransferHandler.pasteOn(OsmDataLayer editLayer,
EastNorth mPosition)
Paste the current clipboard current at the given position
|
void |
OsmTransferHandler.pasteOn(OsmDataLayer editLayer,
EastNorth mPosition,
java.awt.datatransfer.Transferable transferable)
Paste the given clipboard current at the given position
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
PrimitiveTransferData.getCenter()
Compute the center of all nodes.
|
Modifier and Type | Method and Description |
---|---|
private static AddPrimitivesCommand |
PrimitiveDataPaster.createNewPrimitives(PrimitiveTransferData pasteBuffer,
EastNorth offset,
OsmDataLayer layer) |
boolean |
FilePaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
boolean |
OsmLinkPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
boolean |
AbstractTagPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
boolean |
PrimitiveDataPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt) |
abstract boolean |
AbstractOsmDataPaster.importData(javax.swing.TransferHandler.TransferSupport support,
OsmDataLayer layer,
EastNorth pasteAt)
Attempts to import the given transfer data.
|
Modifier and Type | Field and Description |
---|---|
private EastNorth |
LatLonDialog.eastNorthCoordinates |
Modifier and Type | Method and Description |
---|---|
EastNorth |
LatLonDialog.getEastNorthCoordinates()
Gets the coordinates that are entered in the east/north field
|
static EastNorth |
LatLonDialog.parseEastNorth(java.lang.String s)
Parses a east/north coordinate string
|
Modifier and Type | Method and Description |
---|---|
MapViewPath |
MapViewPath.lineTo(EastNorth eastNorth)
Draw a line to the position.
|
MapViewPath |
MapViewPath.moveTo(EastNorth eastNorth)
Move the cursor to the given position.
|
MapViewPath |
MapViewPath.shapeAround(EastNorth eastNorth,
SymbolShape symbol,
double size)
Add the given shape centered around the current position.
|
Modifier and Type | Method and Description |
---|---|
private ICoordinate |
AbstractTileSourceLayer.getShiftedCoord(EastNorth en) |
private LatLon |
AbstractTileSourceLayer.getShiftedLatLon(EastNorth en) |
Modifier and Type | Field and Description |
---|---|
private EastNorth |
TileSourceDisplaySettings.displacement
the displacement (basically caches the displacement from the offsetBookmark
in the current projection)
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
TileSourceDisplaySettings.getDisplacement()
Gets the displacement of the image
|
private EastNorth |
ReprojectionTile.tileToEastNorth(int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
private void |
TileSourceDisplaySettings.setDisplacement(EastNorth displacement) |
IProjected |
TileCoordinateConverter.shiftDisplayToServer(EastNorth en)
Apply reverse shift to EastNorth coordinate.
|
Modifier and Type | Method and Description |
---|---|
void |
PlayHeadMarker.drag(EastNorth en)
apply the new position resulting from a drag in progress
|
void |
PlayHeadMarker.reposition(EastNorth en)
reposition the play head at the point on the track nearest position given,
providing we are within reasonable distance from the track; otherwise reset to the
original position.
|
void |
Marker.setEastNorth(EastNorth eastNorth)
Sets the marker's projected coordinates.
|
void |
PlayHeadMarker.synchronize(EastNorth en)
Synchronize the audio at the position where the play head was paused before
dragging with the position on the track where it was dropped.
|
Modifier and Type | Method and Description |
---|---|
private static javax.json.JsonArrayBuilder |
GeoJSONWriter.getCoorArray(javax.json.JsonArrayBuilder builder,
EastNorth c) |
Modifier and Type | Method and Description |
---|---|
private static EastNorth |
Geometry.closestPointTo(EastNorth p1,
EastNorth p2,
EastNorth point,
boolean segmentOnly) |
static EastNorth |
Geometry.closestPointToLine(EastNorth lineP1,
EastNorth lineP2,
EastNorth point)
Calculates closest point to a line.
|
static EastNorth |
Geometry.closestPointToSegment(EastNorth segmentP1,
EastNorth segmentP2,
EastNorth point)
Calculates closest point to a line segment.
|
static EastNorth |
Geometry.getCenter(java.util.List<? extends INode> nodes)
Compute center of the circle closest to different nodes.
|
static EastNorth |
Geometry.getCentroid(java.util.List<? extends INode> nodes)
Compute the centroid/barycenter of nodes
|
static EastNorth |
Geometry.getCentroidEN(java.util.List<EastNorth> nodes)
Compute the centroid/barycenter of nodes
|
static EastNorth |
Geometry.getLineLineIntersection(EastNorth p1,
EastNorth p2,
EastNorth p3,
EastNorth p4)
Finds the intersection of two lines of infinite length.
|
static EastNorth |
Geometry.getSegmentSegmentIntersection(EastNorth p1,
EastNorth p2,
EastNorth p3,
EastNorth p4)
Finds the intersection of two line segments.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Geometry.angleIsClockwise(EastNorth commonNode,
EastNorth firstNode,
EastNorth secondNode)
This method tests if secondNode is clockwise to first node.
|
private static EastNorth |
Geometry.closestPointTo(EastNorth p1,
EastNorth p2,
EastNorth point,
boolean segmentOnly) |
static EastNorth |
Geometry.closestPointToLine(EastNorth lineP1,
EastNorth lineP2,
EastNorth point)
Calculates closest point to a line.
|
static EastNorth |
Geometry.closestPointToSegment(EastNorth segmentP1,
EastNorth segmentP2,
EastNorth point)
Calculates closest point to a line segment.
|
static double |
Geometry.getCornerAngle(EastNorth p1,
EastNorth common,
EastNorth p3)
Returns angle of a corner defined with 3 point coordinates.
|
static EastNorth |
Geometry.getLineLineIntersection(EastNorth p1,
EastNorth p2,
EastNorth p3,
EastNorth p4)
Finds the intersection of two lines of infinite length.
|
static double |
Geometry.getSegmentAngle(EastNorth p1,
EastNorth p2)
Returns angle of a segment defined with 2 point coordinates.
|
private static double |
Geometry.getSegmentNodeDistSq(EastNorth s1,
EastNorth s2,
EastNorth p)
Calculate closest distance between a line segment s1-s2 and a point p
|
static EastNorth |
Geometry.getSegmentSegmentIntersection(EastNorth p1,
EastNorth p2,
EastNorth p3,
EastNorth p4)
Finds the intersection of two line segments.
|
static boolean |
Geometry.segmentsParallel(EastNorth p1,
EastNorth p2,
EastNorth p3,
EastNorth p4)
Check if the segment p1 - p2 is parallel to p3 - p4
|
Modifier and Type | Method and Description |
---|---|
static EastNorth |
Geometry.getCentroidEN(java.util.List<EastNorth> nodes)
Compute the centroid/barycenter of nodes
|