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
d30f0330
Commit
d30f0330
authored
Jun 26, 2025
by
Riegel
Browse files
Feat: Add function stub for method
parent
d99ede5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/database/DatabaseHandler.java
View file @
d30f0330
...
@@ -3,6 +3,7 @@ package de.hft.stuttgart.citydoctor2.database;
...
@@ -3,6 +3,7 @@ package de.hft.stuttgart.citydoctor2.database;
import
de.hft.stuttgart.citydoctor2.datastructure.BoundingBox
;
import
de.hft.stuttgart.citydoctor2.datastructure.BoundingBox
;
import
de.hft.stuttgart.citydoctor2.datastructure.CityObject
;
import
de.hft.stuttgart.citydoctor2.datastructure.CityObject
;
import
de.hft.stuttgart.citydoctor2.datastructure.GmlId
;
import
de.hft.stuttgart.citydoctor2.datastructure.GmlId
;
import
de.hft.stuttgart.citydoctor2.utils.Pair
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.apache.logging.log4j.Logger
;
import
org.h2gis.functions.factory.H2GISDBFactory
;
import
org.h2gis.functions.factory.H2GISDBFactory
;
...
@@ -173,6 +174,12 @@ public class DatabaseHandler {
...
@@ -173,6 +174,12 @@ public class DatabaseHandler {
return
intersectingObjects
;
return
intersectingObjects
;
}
}
public
static
List
<
Pair
<
CityObject
,
List
<
CityObject
>>>
getCollidingObjects
()
{
List
<
Pair
<
CityObject
,
List
<
CityObject
>>>
collidingObjects
=
new
ArrayList
<>();
// TODO: Implement query to return all Objects that have a collision and the list of whhich other objects collide
return
collidingObjects
;
}
public
static
int
getFeatureCount
()
{
public
static
int
getFeatureCount
()
{
int
count
=
-
1
;
int
count
=
-
1
;
...
...
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