|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.data.validation.tests.CrossingWays.ExtendedSegment
public static class CrossingWays.ExtendedSegment
A way segment with some additional information
Field Summary | |
---|---|
boolean |
coastline
The coastline type |
java.lang.String |
layer
The layer |
Node |
n1
|
Node |
n2
|
java.lang.String |
railway
The railway type |
java.lang.String |
waterway
The waterway type |
WaySegment |
ws
|
Constructor Summary | |
---|---|
CrossingWays.ExtendedSegment(WaySegment ws,
java.lang.String layer,
java.lang.String railway,
boolean coastline,
java.lang.String waterway)
Constructor |
Method Summary | |
---|---|
boolean |
intersects(CrossingWays.ExtendedSegment s2)
Checks whether this segment crosses other segment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Node n1
public Node n2
public WaySegment ws
public java.lang.String layer
public java.lang.String railway
public java.lang.String waterway
public boolean coastline
Constructor Detail |
---|
public CrossingWays.ExtendedSegment(WaySegment ws, java.lang.String layer, java.lang.String railway, boolean coastline, java.lang.String waterway)
ws
- The way segmentlayer
- The layer of the way this segment is inrailway
- The railway type of the way this segment is incoastline
- The coastline flag of the way the segment is inwaterway
- The waterway type of the way this segment is inMethod Detail |
---|
public boolean intersects(CrossingWays.ExtendedSegment s2)
s2
- The other segment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |