public static class CrossingWays.Barrier extends CrossingWays
CrossingWays.Barrier, CrossingWays.Boundaries, CrossingWays.MessageHelper, CrossingWays.SelfCrossing, CrossingWays.Ways
Test.TagTest
Modifier and Type | Field and Description |
---|---|
protected static int |
CROSSING_BARRIERS |
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 |
---|
Barrier()
Constructs a new crossing
Barrier 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, compareTo, deletePrimitivesIfNeeded, equals, fixError, getErrors, getName, hashCode, initialize, isBuilding, isCanceled, isFixable, isResidentialArea, ok, setBeforeUpload, setPartialSelection, setShowElements, testBeforeUpload, visit, visit, visit
protected static final int CROSSING_BARRIERS
public Barrier()
Barrier
test.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