org.openstreetmap.josm.data.validation.tests
Class UnconnectedWays.MyWaySegment
java.lang.Object
org.openstreetmap.josm.data.validation.tests.UnconnectedWays.MyWaySegment
- Enclosing class:
- UnconnectedWays
private class UnconnectedWays.MyWaySegment
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
line
private final java.awt.geom.Line2D line
w
public final Way w
isAbandoned
public final boolean isAbandoned
isBoundary
public final boolean isBoundary
highway
public final boolean highway
len
private final double len
nearbyNodeCache
private java.util.Set<Node> nearbyNodeCache
nearbyNodeCacheDist
double nearbyNodeCacheDist
n1
final Node n1
n2
final Node n2
UnconnectedWays.MyWaySegment
public UnconnectedWays.MyWaySegment(Way w,
Node n1,
Node n2)
nearby
public boolean nearby(Node n,
double dist)
getBounds
public java.util.List<LatLon> getBounds(double fudge)
nearbyNodes
public java.util.Collection<Node> nearbyNodes(double dist)
isArea
public boolean isArea()
JOSM