CityDoctorParent
CityDoctorModel/…/…/…/…/…/…/citydoctor2
check
error
DegeneratedPolygonError.java +1 -1
Check.java +12 -11
ErrorId.java +1 -1
math
OrthogonalRegressionPlane.java +2 -2
CityDoctorValidation/src
main/java/de/hft/stuttgart/citydoctor2
check
Checker.java +8 -127
StreamCityGmlConsumer.java +186 -0
checks
geometry
DuplicatePointsCheck.java +2 -4
PlanarCheck.java +8 -4
RingSelfIntCheck.java +9 -12
Checks.java +7 -0
test/java/de/…/…/…/checks/geometry
DegeneratedPolygonCheckTest.java +102 -0
- Matthias Betz authored
added test for degenerated polygon renaming degenerated polygon error
+ 12
- 11
@@ -46,15 +46,16 @@ import de.hft.stuttgart.citydoctor2.parser.ParserConfiguration;
@@ -66,7 +67,7 @@ public abstract class Check {
@@ -145,7 +146,7 @@ public abstract class Check {
+ 1
- 1
@@ -63,7 +63,7 @@ public class ErrorId implements Serializable {
@@ -55,10 +55,10 @@ public class OrthogonalRegressionPlane {
+ 8
- 127
@@ -23,7 +23,6 @@ import java.io.File;
@@ -33,7 +32,6 @@ import java.util.List;
@@ -47,8 +45,6 @@ import javax.xml.transform.stream.StreamSource;
@@ -60,15 +56,9 @@ import de.hft.stuttgart.citydoctor2.checks.CheckPrototype;
@@ -81,15 +71,10 @@ import de.hft.stuttgart.citydoctor2.reporting.XmlValidationReporter;
@@ -235,7 +220,7 @@ public class Checker {
@@ -252,7 +237,7 @@ public class Checker {
@@ -475,6 +460,8 @@ public class Checker {
@@ -724,97 +711,18 @@ public class Checker {
@@ -822,33 +730,6 @@ public class Checker {
+ 186
- 0
@@ -68,9 +68,7 @@ public class DuplicatePointsCheck extends Check {
@@ -99,8 +97,8 @@ public class DuplicatePointsCheck extends Check {
@@ -115,10 +115,7 @@ public class PlanarCheck extends Check {
@@ -133,6 +130,13 @@ public class PlanarCheck extends Check {
@@ -31,6 +31,7 @@ import de.hft.stuttgart.citydoctor2.check.CheckType;
@@ -40,13 +41,11 @@ import de.hft.stuttgart.citydoctor2.math.Segment3d;
@@ -55,14 +54,12 @@ public class RingSelfIntCheck extends Check {
@@ -74,16 +71,16 @@ public class RingSelfIntCheck extends Check {
@@ -101,7 +98,7 @@ public class RingSelfIntCheck extends Check {
+ 7
- 0
@@ -62,6 +62,8 @@ import de.hft.stuttgart.citydoctor2.utils.Localization;
@@ -75,16 +77,21 @@ public class Checks {
+ 102
- 0