Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
2066345b
Commit
2066345b
authored
Aug 03, 2021
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/check/Requirement.java
View file @
2066345b
...
...
@@ -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.0
0000
"
,
Unit
.
METER
));
defaultParameters
.
add
(
new
DefaultParameter
(
DEGENERATED_RING_TOLERANCE
,
"0.0
1
"
,
Unit
.
METER
));
R_GE_R_SELF_INTERSECTION
.
parameters
=
Collections
.
unmodifiableList
(
defaultParameters
);
}
...
...
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/geometry/RingSelfIntCheck.java
View file @
2066345b
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment