Modifier and Type | Field and Description |
---|---|
private EastNorth |
AlignInCircleAction.PolarCoor.origin |
private EastNorth |
ImageryAdjustAction.prevEastNorth |
private EastNorth |
JoinNodeWayAction.NodeDistanceToRefNodeComparator.refPoint |
private EastNorth |
JoinNodeWayAction.NodeDistanceToRefNodeComparator.refPoint2 |
EastNorth |
OrthogonalizeAction.WayData.segSum |
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 |
---|---|
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) |
EastNorth |
AlignInCircleAction.PolarCoor.toEastNorth() |
Modifier and Type | Method and Description |
---|---|
static EastNorth |
OrthogonalizeAction.EN.diff(EastNorth en1,
EastNorth en2) |
private static double |
AlignInCircleAction.distance(EastNorth n,
EastNorth m) |
static OsmPrimitive |
SelectByInternalPointAction.getSmallestSurroundingObject(EastNorth internalPoint)
Returns the smallest surrounding polygon/multipolygon which contains 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 |
---|
PolarCoor(double radius,
double angle,
EastNorth origin,
double azimuth) |
PolarCoor(EastNorth en) |
PolarCoor(EastNorth en,
EastNorth origin,
double azimuth) |
PolarNode(EastNorth center,
Node n) |
Modifier and Type | Field and Description |
---|---|
private EastNorth |
DrawAction.currentMouseEastNorth |
private EastNorth |
DrawAction.SnapHelper.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 |
DrawAction.SnapHelper.projected |
private EastNorth |
DrawAction.SnapHelper.projectionSource |
private EastNorth[] |
ParallelWays.pts |
private EastNorth |
DrawAction.SnapHelper.segmentPoint1 |
private EastNorth |
DrawAction.SnapHelper.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 |
DrawAction.SnapHelper.getSnapPoint(EastNorth 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 |
DrawAction.SnapHelper.checkAngleSnapping(EastNorth currentEN,
double baseHeading,
double curHeading) |
private void |
SelectAction.VirtualManager.createMiddleNodeFromVirtual(EastNorth currentEN) |
EastNorth |
DrawAction.SnapHelper.getSnapPoint(EastNorth 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 |
MoveCommand.startEN
Starting position, base command point, current (mouse-drag) position = startEN + (x,y) =
|
private EastNorth |
ScaleCommand.startEN
World position of the mouse when the user started the command.
|
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.
|
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.
|
abstract void |
TransformNodesCommand.handleEvent(EastNorth currentEN)
Handling of a mouse event (e.g.
|
void |
ScaleCommand.handleEvent(EastNorth currentEN)
Compute new scaling factor and transform nodes accordingly.
|
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(OsmPrimitive p,
EastNorth start,
EastNorth end)
Constructs a new
MoveCommand to move a primitive. |
RotateCommand(java.util.Collection<OsmPrimitive> objects,
EastNorth currentEN)
Creates a RotateCommand.
|
ScaleCommand(java.util.Collection<OsmPrimitive> objects,
EastNorth currentEN)
Creates a ScaleCommand.
|
Modifier and Type | Field and Description |
---|---|
private EastNorth |
ViewportData.center |
Modifier and Type | Method and Description |
---|---|
EastNorth |
ViewportData.getCenter()
Return the projected coordinates of the map center
|
EastNorth |
ProjectionBounds.getCenter()
Returns the center east/north.
|
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 |
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()
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) |
EastNorth |
EastNorth.subtract(EastNorth other)
Subtracts an east/north value from this point.
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
EastNorth.add(EastNorth other)
Adds the coordinates of an other EastNorth instance to this one.
|
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 . |
Modifier and Type | Method and Description |
---|---|
EastNorth |
WayPoint.getEastNorth()
Replies the projected east/north coordinates.
|
Modifier and Type | Method and Description |
---|---|
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 |
TemplatedWMSTileSource.anchorPosition |
private EastNorth |
WMTSTileSource.TileMatrix.topLeftCorner |
Modifier and Type | Method and Description |
---|---|
protected EastNorth |
TemplatedWMSTileSource.getTileEastNorth(int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
private TileXY |
TemplatedWMSTileSource.eastNorthToTileXY(EastNorth enPoint,
int zoom) |
Modifier and Type | Method and Description |
---|---|
EastNorth |
NodeData.getEastNorth() |
EastNorth |
Node.getEastNorth()
Replies the projected east/north coordinates.
|
EastNorth |
INode.getEastNorth()
Returns east/north coordinates of this node.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
DataSet.fireNodeMoved(Node node,
LatLon newCoor,
EastNorth eastNorth) |
private void |
DataSet.reindexNode(Node node,
LatLon newCoor,
EastNorth eastNorth) |
protected void |
Node.setCoorInternal(LatLon coor,
EastNorth eastNorth)
To be used only by Dataset.reindexNode
|
void |
NodeData.setEastNorth(EastNorth eastNorth) |
void |
Node.setEastNorth(EastNorth eastNorth) |
void |
INode.setEastNorth(EastNorth eastNorth)
Sets east/north coordinates of this node.
|
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 java.util.EnumMap<CustomProjection.Polarity,EastNorth> |
CustomProjection.polesEN |
Modifier and Type | Method and Description |
---|---|
private EastNorth |
CustomProjection.getPointAlong(int i,
int N,
ProjectionBounds r) |
private EastNorth |
CustomProjection.getPole(CustomProjection.Polarity whichPole) |
EastNorth |
Projection.latlon2eastNorth(LatLon ll)
Convert from lat/lon to easting/northing.
|
EastNorth |
AbstractProjection.latlon2eastNorth(LatLon ll) |
static EastNorth |
Projections.project(LatLon ll)
Convert from lat/lon to easting/northing using the current projection.
|
Modifier and Type | Method and Description |
---|---|
LatLon |
Projection.eastNorth2latlon(EastNorth en)
Convert from easting/norting to lat/lon.
|
LatLon |
AbstractProjection.eastNorth2latlon(EastNorth en) |
static LatLon |
Projections.inverseProject(EastNorth en)
Convert from easting/norting to lat/lon using the current projection.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.List<WaySegment>> |
CrossingWays.getSegments(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 |
---|---|
protected EastNorth |
NavigatableComponent.center
Center n/e coordinate of the desired screen center.
|
private EastNorth |
NavigatableComponent.ZoomData.center |
private EastNorth |
MapMover.mousePosMove
The point in the map that was the under the mouse point
when moving around started.
|
Modifier and Type | Method and Description |
---|---|
private static EastNorth |
NavigatableComponent.calculateDefaultCenter() |
EastNorth |
NavigatableComponent.getCenter()
Returns the current center of the viewport.
|
EastNorth |
NavigatableComponent.ZoomData.getCenterEastNorth() |
EastNorth |
NavigatableComponent.getEastNorth(int x,
int y) |
Modifier and Type | Method and Description |
---|---|
java.awt.Point |
NavigatableComponent.getPoint(EastNorth p) |
java.awt.geom.Point2D |
NavigatableComponent.getPoint2D(EastNorth p)
Return the point on the screen where this Coordinate would be.
|
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.
|
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) |
void |
NavigatableComponent.zoomTo(EastNorth newCenter,
double newScale)
Zoom to the given coordinate and scale.
|
void |
NavigatableComponent.zoomTo(EastNorth newCenter,
double newScale,
boolean initial)
Zoom to the given coordinate and scale.
|
void |
NavigatableComponent.zoomToFactor(EastNorth newCenter,
double factor) |
Constructor and Description |
---|
ZoomData(EastNorth center,
double scale) |
Modifier and Type | Field and Description |
---|---|
private EastNorth |
LatLonDialog.eastNorthCoordinates |
Modifier and Type | Method and Description |
---|---|
EastNorth |
LatLonDialog.getEastNorthCoordinates() |
static EastNorth |
LatLonDialog.parseEastNorth(java.lang.String s) |
Modifier and Type | Field and Description |
---|---|
private EastNorth |
AbstractTileSourceLayer.DeepTileSet.botRight |
private EastNorth |
AbstractTileSourceLayer.DeepTileSet.topLeft |
Modifier and Type | Method and Description |
---|---|
private ICoordinate |
AbstractTileSourceLayer.getShiftedCoord(EastNorth en) |
private LatLon |
AbstractTileSourceLayer.getShiftedLatLon(EastNorth en) |
Constructor and Description |
---|
DeepTileSet(EastNorth topLeft,
EastNorth botRight,
int minZoom,
int maxZoom) |
TileSet(EastNorth topLeft,
EastNorth botRight,
int zoom)
Create a TileSet by EastNorth bbox taking a layer shift in account
|
Modifier and Type | Method and Description |
---|---|
EastNorth |
Marker.getEastNorth()
Returns the marker's projected coordinates.
|
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 JsonArrayBuilder |
GeoJSONWriter.getCoorArray(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<Node> nodes)
Compute center of the circle closest to different nodes.
|
static EastNorth |
Geometry.getCentroid(java.util.List<Node> 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 void |
CheckParameterUtil.ensureValidCoordinates(EastNorth eastnorth,
java.lang.String parameterName)
Ensures east/north coordinates are valid
|
static double |
Geometry.getCornerAngle(EastNorth p1,
EastNorth p2,
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.
|
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) |