Commit 2aff737b authored by Matthias Betz's avatar 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
......@@ -72,5 +72,4 @@ public class DegeneratedRingError implements CheckError {
public GmlElement getFeature() {
return getRing();
}
}
......@@ -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);
}
......
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