public class LongSegment extends Test
Test.TagTest| Modifier and Type | Field and Description |
|---|---|
protected static int |
LONG_SEGMENT
Long segment error
|
protected int |
maxlength
Maximum segment length for this test
|
checkBeforeUpload, checkEnabled, description, enabled, errors, IN_DOWNLOADED_AREA, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload| Constructor and Description |
|---|
LongSegment()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPrimitiveUsable(OsmPrimitive p)
Determines if the primitive is usable for tests.
|
void |
startTest(ProgressMonitor monitor)
Start the test using a given progress monitor
|
void |
visit(Way w)
Visiting call for lines.
|
addGui, deletePrimitivesIfNeeded, endTest, equals, fixError, getErrors, getName, hashCode, initialize, isBuilding, isCanceled, isFixable, ok, setBeforeUpload, setPartialSelection, testBeforeUpload, visit, visit, visitvisitprotected static final int LONG_SEGMENT
protected int maxlength
public LongSegment()
public void startTest(ProgressMonitor monitor)
Testpublic boolean isPrimitiveUsable(OsmPrimitive p)
TestisPrimitiveUsable in class Testp - The primitivetrue if the primitive can be tested, false otherwise