aboutsummaryrefslogtreecommitdiff
path: root/src/mev.rs
diff options
context:
space:
mode:
authorCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-03-14 21:55:49 +0100
committerCharlotte Pabst <charlotte.pabst@stud.tu-darmstadt.de>2024-03-24 17:20:05 +0100
commit0a922773a37f6a6a0d73ee0c1fa884e90e5f0f1d (patch)
tree58c745136e4cda545a28437816ad495c1be5ae7f /src/mev.rs
parent6a7d3ec46347d06d70e08577f688ec5b534e2c08 (diff)
downloaddcel-0a922773a37f6a6a0d73ee0c1fa884e90e5f0f1d.tar.xz
Diffstat (limited to 'src/mev.rs')
-rw-r--r--src/mev.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mev.rs b/src/mev.rs
index 41a2ceb..5de1ce8 100644
--- a/src/mev.rs
+++ b/src/mev.rs
@@ -128,6 +128,10 @@ impl<'brand, 'arena, V> Operator<'brand, 'arena, V> for Kev<'brand, 'arena, V> {
let d = c.prev(dcel);
dcel.follow(d, a);
+ let shell = a.loop_(dcel).face(dcel).shell(dcel);
+ shell.remove_edge(*self.edge, dcel);
+ shell.remove_vertex(*self.vertex, dcel);
+
self.edge.destroy(dcel);
let data = self.vertex.destroy(dcel);