Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
3 years ago
by
Matthias Betz
Browse files
Options
Download
Email Patches
Plain Diff
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
Showing
2 changed files
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/check/Requirement.java
+1
-1
.../java/de/hft/stuttgart/citydoctor2/check/Requirement.java
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/geometry/RingSelfIntCheck.java
+3
-2
...uttgart/citydoctor2/checks/geometry/RingSelfIntCheck.java
with
4 additions
and
3 deletions
+4
-3
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/check/Requirement.java
+
1
-
1
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
);
}
...
...
This diff is collapsed.
Click to expand it.
CityDoctorParent/CityDoctorValidation/src/main/java/de/hft/stuttgart/citydoctor2/checks/geometry/RingSelfIntCheck.java
+
3
-
2
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
)
{
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets