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
409baa25
Commit
409baa25
authored
Feb 03, 2026
by
Luna Riegel
Browse files
Refactor: Add fallback lazy bbox calculation
parent
5af27f3e
Pipeline
#12321
passed with stage
in 2 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/datastructure/CityObject.java
View file @
409baa25
...
...
@@ -92,7 +92,10 @@ public abstract class CityObject extends GmlElement {
this
.
bbox
=
bbox
;
}
public
BoundingBox
getBbox
(){
public
synchronized
BoundingBox
getBbox
(){
if
(
bbox
==
null
){
this
.
setBbox
(
BoundingBox
.
of
(
this
));
}
return
bbox
;
}
...
...
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