Commit 2066345b authored by Matthias Betz's avatar Matthias Betz
Browse files

changed default degenerated polygon parameter to 0.01m

parent ba4741aa
Pipeline #4632 failed with stage
in 2 minutes and 32 seconds
......@@ -84,7 +84,7 @@ public class Requirement implements Serializable {
R_SE_BS_ROOF_UNFRAGMENTED.parameters = Collections.unmodifiableList(defaultParameters);
defaultParameters = new ArrayList<>();
defaultParameters.add(new DefaultParameter(DEGENERATED_RING_TOLERANCE, "0.00000", Unit.METER));
defaultParameters.add(new DefaultParameter(DEGENERATED_RING_TOLERANCE, "0.01", Unit.METER));
R_GE_R_SELF_INTERSECTION.parameters = Collections.unmodifiableList(defaultParameters);
}
......
......@@ -61,7 +61,9 @@ public class RingSelfIntCheck extends Check {
private static final String EPSILON_NAME = "minVertexDistance";
private double degeneratedRingTolerance = 0.00000;
// check requirement class for default parameters
private double degeneratedRingTolerance = 0.01;
private double epsilon = Checks.MIN_VERTEX_DISTANCE_DEFAULT;
private static final List<CheckId> dependencies;
......@@ -74,7 +76,6 @@ public class RingSelfIntCheck extends Check {
dependencies = Collections.unmodifiableList(deps);
}
private double epsilon = Checks.MIN_VERTEX_DISTANCE_DEFAULT;
@Override
public void init(Map<String, String> parameters, ParserConfiguration config) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment