Commit 79bc2870 authored by Matthias Betz's avatar Matthias Betz
Browse files

removing commeted code

parent e763994c
Pipeline #2449 passed with stage
in 3 minutes and 4 seconds
......@@ -145,24 +145,6 @@ public class Geometry extends GmlElement {
Edge oppositeEdge = new Edge(v1, v0);
duplicacyMap.put(tempEdge, tempEdge);
duplicacyMap.put(oppositeEdge, tempEdge);
// for (Vertex v0Neighbor : v0.getNeighbors()) {
// Edge alternativeEdge = new Edge(v0Neighbor, v1);
// Edge oppositeAlternativeEdge = new Edge(v1, v0Neighbor);
// duplicacyMap.put(alternativeEdge, tempEdge);
// duplicacyMap.put(oppositeAlternativeEdge, tempEdge);
// for (Vertex v1Neighbor : v1.getNeighbors()) {
// alternativeEdge = new Edge(v0Neighbor, v1Neighbor);
// oppositeAlternativeEdge = new Edge(v1Neighbor, v0Neighbor);
// duplicacyMap.put(alternativeEdge, tempEdge);
// duplicacyMap.put(oppositeAlternativeEdge, tempEdge);
// }
// }
// for (Vertex v : v1.getNeighbors()) {
// Edge alternativeEdge = new Edge(v0, v);
// Edge oppositeAlternativeEdge = new Edge(v, v0);
// duplicacyMap.put(alternativeEdge, tempEdge);
// duplicacyMap.put(oppositeAlternativeEdge, tempEdge);
// }
e = tempEdge;
edges.add(e);
edgeMap.put(new SerializablePair<>(v0, v1), e);
......@@ -296,24 +278,6 @@ public class Geometry extends GmlElement {
if (edge != null) {
return edge;
}
// for (Vertex neighborV1 : v1.getNeighbors()) {
// edge = edgeMap.get(new SerializablePair<>(neighborV1, v2));
// if (edge != null) {
// return edge;
// }
// for (Vertex neighborV2 : v2.getNeighbors()) {
// edge = edgeMap.get(new SerializablePair<>(neighborV1, neighborV2));
// if (edge != null) {
// return edge;
// }
// }
// }
// for (Vertex neighborV2 : v2.getNeighbors()) {
// edge = edgeMap.get(new SerializablePair<>(neighborV2, v1));
// if (edge != null) {
// return edge;
// }
// }
return null;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment