public static class CrossingWays.SelfCrossing extends CrossingWays
CrossingWays.Barrier, CrossingWays.Boundaries, CrossingWays.MessageHelper, CrossingWays.SelfCrossing, CrossingWays.Ways
Test.TagTest
Modifier and Type | Field and Description |
---|---|
(package private) CrossingWays.Barrier |
barrierTest |
(package private) CrossingWays.Boundaries |
boundariesTest |
protected static int |
CROSSING_SELF |
(package private) CrossingWays.Ways |
normalTest |
code, HIGHWAY, LANDUSE, RAILWAY, WATERWAY
checkBeforeUpload, checkEnabled, description, enabled, errors, IN_DOWNLOADED_AREA, IN_DOWNLOADED_AREA_STRICT, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload
Constructor and Description |
---|
SelfCrossing()
Constructs a new SelfIntersection test.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
ignoreWaySegmentCombination(Way w1,
Way w2) |
boolean |
isPrimitiveUsable(OsmPrimitive p)
Determines if the primitive is usable for tests.
|
createMessage, endTest, getSegments, isCoastline, isHighway, isProposedOrAbandoned, isRailway, isSubwayOrTramOrRazed, startTest, visit
addGui, clear, deletePrimitivesIfNeeded, fixError, getErrors, getName, initialize, isBuilding, isCanceled, isFixable, isResidentialArea, ok, setBeforeUpload, setPartialSelection, setShowElements, testBeforeUpload, visit, visit, visit
protected static final int CROSSING_SELF
CrossingWays.Ways normalTest
CrossingWays.Barrier barrierTest
CrossingWays.Boundaries boundariesTest
public SelfCrossing()
public boolean isPrimitiveUsable(OsmPrimitive p)
Test
isPrimitiveUsable
in class Test
p
- The primitivetrue
if the primitive can be tested, false
otherwiseboolean ignoreWaySegmentCombination(Way w1, Way w2)
ignoreWaySegmentCombination
in class CrossingWays