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
93325380
Commit
93325380
authored
Dec 12, 2025
by
Luna Riegel
Browse files
Fix: Fix compilation errors
parent
219d36ea
Changes
3
Show whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorHealer/src/test/java/de/hft/stuttgart/citydoctor2/healing/HealMissingSolidTest.java
View file @
93325380
...
@@ -29,6 +29,8 @@ import java.io.IOException;
...
@@ -29,6 +29,8 @@ import java.io.IOException;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
de.hft.stuttgart.citydoctor2.database.UnconnectedCache
;
import
org.citygml4j.core.model.CityGMLVersion
;
import
org.citygml4j.core.model.core.AbstractThematicSurface
;
import
org.citygml4j.core.model.core.AbstractThematicSurface
;
import
org.citygml4j.core.model.core.CityModel
;
import
org.citygml4j.core.model.core.CityModel
;
import
org.junit.Rule
;
import
org.junit.Rule
;
...
@@ -70,7 +72,8 @@ public class HealMissingSolidTest {
...
@@ -70,7 +72,8 @@ public class HealMissingSolidTest {
@Test
@Test
public
void
testCreateSolid
()
throws
CityDoctorWriteException
,
IOException
,
CityGmlParseException
,
InvalidGmlFileException
{
public
void
testCreateSolid
()
throws
CityDoctorWriteException
,
IOException
,
CityGmlParseException
,
InvalidGmlFileException
{
ValidationConfiguration
config
=
ValidationConfiguration
.
loadStandardValidationConfig
();
ValidationConfiguration
config
=
ValidationConfiguration
.
loadStandardValidationConfig
();
CityDoctorModel
model
=
new
CityDoctorModel
(
config
.
getParserConfiguration
(),
new
File
(
"test"
));
CityDoctorModel
model
=
new
CityDoctorModel
(
config
.
getParserConfiguration
(),
new
File
(
"test"
),
new
UnconnectedCache
());
model
.
setParsedCityGMLVersion
(
CityGMLVersion
.
v3_0
);
model
.
setCityModel
(
new
CityModel
());
model
.
setCityModel
(
new
CityModel
());
Building
b
=
new
Building
();
Building
b
=
new
Building
();
model
.
addBuilding
(
b
);
model
.
addBuilding
(
b
);
...
...
CityDoctorParent/Extensions/CityDoctorHealerGUI/src/main/java/de/hft/stuttgart/citydoctor2/healer/gui/HealerController.java
View file @
93325380
...
@@ -538,8 +538,7 @@ public class HealerController {
...
@@ -538,8 +538,7 @@ public class HealerController {
// if (model == null || currentFeature == null) {
// if (model == null || currentFeature == null) {
// return;
// return;
// }
// }
model
.
getBuildings
().
forEach
(
b
->
{
for
(
Building
b
:
model
.
getBuildings
())
{
// collect polygons
// collect polygons
Map
<
Lod
,
List
<
Polygon
>>
availablePolygons
=
new
EnumMap
<>(
Lod
.
class
);
Map
<
Lod
,
List
<
Polygon
>>
availablePolygons
=
new
EnumMap
<>(
Lod
.
class
);
Map
<
Lod
,
Set
<
Polygon
>>
existingPolygons
=
new
EnumMap
<>(
Lod
.
class
);
Map
<
Lod
,
Set
<
Polygon
>>
existingPolygons
=
new
EnumMap
<>(
Lod
.
class
);
...
@@ -568,7 +567,7 @@ public class HealerController {
...
@@ -568,7 +567,7 @@ public class HealerController {
insertSolidGeometry
(
availablePolygons
,
part
,
existingPolygons
,
Lod
.
LOD4
);
insertSolidGeometry
(
availablePolygons
,
part
,
existingPolygons
,
Lod
.
LOD4
);
}
}
}
}
}
}
);
}
}
...
...
CityDoctorParent/pom.xml
View file @
93325380
...
@@ -303,9 +303,9 @@
...
@@ -303,9 +303,9 @@
<!--CityDoctor2 Extension Modules-->
<!--CityDoctor2 Extension Modules-->
<module>
Extensions/CityDoctorGUI
</module>
<module>
Extensions/CityDoctorGUI
</module>
<!-- <module>Extensions/CityDoctorAutoPro</module>-->
<!-- <module>Extensions/CityDoctorAutoPro</module>-->
<!--
<module>Extensions/CityDoctorHealer</module>
-->
<module>
Extensions/CityDoctorHealer
</module>
<!-- <module>Extensions/CityDoctorHealerGenetic</module>-->
<!-- <module>Extensions/CityDoctorHealerGenetic</module>-->
<!--
<module>Extensions/CityDoctorHealerGUI</module>
-->
<module>
Extensions/CityDoctorHealerGUI
</module>
</modules>
</modules>
</project>
</project>
\ No newline at end of file
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