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
fecb1655
Commit
fecb1655
authored
Jul 23, 2025
by
Riegel
Browse files
Refactor: Make fields transient
parent
ad2e1a75
Changes
2
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/datastructure/Geometry.java
View file @
fecb1655
...
...
@@ -53,9 +53,9 @@ public class Geometry extends GmlElement {
private
CityObject
parent
;
private
final
List
<
Polygon
>
polygons
=
new
ArrayList
<>(
2
);
private
List
<
Edge
>
edges
;
private
Map
<
SerializablePair
<
Vertex
,
Vertex
>,
Edge
>
edgeMap
;
private
List
<
Vertex
>
vertices
;
private
transient
List
<
Edge
>
edges
;
private
transient
Map
<
SerializablePair
<
Vertex
,
Vertex
>,
Edge
>
edgeMap
;
private
transient
List
<
Vertex
>
vertices
;
private
Orientation
orientation
;
public
Geometry
(
GeometryType
type
,
Lod
lod
,
Orientation
orientation
)
{
...
...
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/datastructure/Vertex.java
View file @
fecb1655
...
...
@@ -37,7 +37,7 @@ public class Vertex extends Vector3d {
@Serial
private
static
final
long
serialVersionUID
=
-
5525361920397934892L
;
private
List
<
SerializablePair
<
Geometry
,
HashSet
<
LinearRing
>>>
adjacentRings
=
new
ArrayList
<>(
2
);
private
transient
List
<
SerializablePair
<
Geometry
,
HashSet
<
LinearRing
>>>
adjacentRings
=
new
ArrayList
<>(
2
);
public
Vertex
(
double
x
,
double
y
,
double
z
)
{
super
(
x
,
y
,
z
);
...
...
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