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
3d26f0e9
Commit
3d26f0e9
authored
Sep 06, 2021
by
Matthias Betz
Browse files
fixing a potential issue with 3 points near each other
parent
9430c116
Pipeline
#4805
passed with stage
in 3 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/mapper/FeatureMapper.java
View file @
3d26f0e9
...
...
@@ -189,11 +189,7 @@ public class FeatureMapper extends FeatureWalker {
if
(
nodesInRange
.
isEmpty
())
{
tree
.
add
(
v
);
}
else
{
if
(
nodesInRange
.
size
()
!=
1
)
{
throw
new
IllegalStateException
(
"Found more than one vertex in range of "
+
v
+
" this should never happen here"
);
}
// replace other vertex with neighboring one
// replace other vertex with any neighboring one
Vertex
original
=
nodesInRange
.
get
(
0
);
lr
.
setVertex
(
i
,
original
);
}
...
...
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