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
2aff737b
Commit
2aff737b
authored
Jun 10, 2021
by
Matthias Betz
Browse files
Fixed missing ADE type for ring edge intersection
parent
7b1663dc
Pipeline
#4360
passed with stage
in 2 minutes and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/check/error/DegeneratedRingError.java
View file @
2aff737b
...
...
@@ -72,5 +72,4 @@ public class DegeneratedRingError implements CheckError {
public
GmlElement
getFeature
()
{
return
getRing
();
}
}
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/check/error/RingEdgeIntersectionError.java
View file @
2aff737b
...
...
@@ -34,6 +34,7 @@ import de.hft.stuttgart.citydoctor2.math.Vector3d;
import
de.hft.stuttgart.citydoctor2.utils.QualityADEUtils
;
import
de.hft.stuttgart.quality.model.RingSelfIntersection
;
import
de.hft.stuttgart.quality.model.ValidationError
;
import
de.hft.stuttgart.quality.model.jaxb.RingSelfIntType
;
/**
* When two edges of the same linear ring are intersecting with each other this
...
...
@@ -123,6 +124,7 @@ public class RingEdgeIntersectionError implements CheckError {
err
.
setEdge1
(
QualityADEUtils
.
convertEdge
(
e1
));
err
.
setEdge2
(
QualityADEUtils
.
convertEdge
(
e2
));
err
.
setVertex1
(
QualityADEUtils
.
convertVertex
(
intersection
));
err
.
setType
(
RingSelfIntType
.
EDGE_INTERSECTS_EDGE
);
return
Optional
.
of
(
err
);
}
...
...
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