public class RightAngleBuildingTest extends Test
Test.TagTest
Modifier and Type | Field and Description |
---|---|
protected double |
maxAngleDelta
Maximum angle difference from right angle that is considered as invalid.
|
protected double |
minAngleDelta
Minimum angle difference from right angle that is considered as invalid.
|
checkBeforeUpload, checkEnabled, description, enabled, errors, IN_DOWNLOADED_AREA, IN_DOWNLOADED_AREA_STRICT, isBeforeUpload, name, partialSelection, progressMonitor, startTime, testBeforeUpload
Constructor and Description |
---|
RightAngleBuildingTest()
Constructs a new
RightAngleBuildingTest test. |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkAngle(double angle) |
void |
startTest(ProgressMonitor monitor)
Start the test using a given progress monitor
|
void |
visit(Way w)
Visiting call for lines.
|
addGui, clear, compareTo, deletePrimitivesIfNeeded, endTest, equals, fixError, getErrors, getName, hashCode, initialize, isBuilding, isCanceled, isFixable, isPrimitiveUsable, isResidentialArea, ok, setBeforeUpload, setPartialSelection, setShowElements, testBeforeUpload, visit, visit, visit
protected double maxAngleDelta
protected double minAngleDelta
public RightAngleBuildingTest()
RightAngleBuildingTest
test.public void visit(Way w)
OsmPrimitiveVisitor
visit
in interface OsmPrimitiveVisitor
visit
in class Test
w
- The way to inspect.public void startTest(ProgressMonitor monitor)
Test
private boolean checkAngle(double angle)