|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.actions.mapmode.ImproveWayAccuracyHelper
class ImproveWayAccuracyHelper
This static class contains functions used to find target way, node to move or segment to divide.
Constructor Summary | |
---|---|
ImproveWayAccuracyHelper()
|
Method Summary | |
---|---|
static Node |
findCandidateNode(MapView mv,
Way w,
java.awt.Point p)
Returns the nearest node to cursor. |
static WaySegment |
findCandidateSegment(MapView mv,
Way w,
java.awt.Point p)
Returns the nearest way segment to cursor. |
static Way |
findWay(MapView mv,
java.awt.Point p)
Finds the way to work on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
ImproveWayAccuracyHelper()
Method Detail |
---|
public static Way findWay(MapView mv, java.awt.Point p)
mv
- p
-
public static Node findCandidateNode(MapView mv, Way w, java.awt.Point p)
mv
- w
- p
-
public static WaySegment findCandidateSegment(MapView mv, Way w, java.awt.Point p)
mv
- w
- p
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |