X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2FGeom.java;fp=src%2FGeom.java;h=080690e66e577ad6ec109eaca8a9e0c60245b951;hb=113b9ec23d89a15c3d57532909e85580df4c4580;hp=a9f9bc2a5242e1a362dfeff22f0dcab65b44bae7;hpb=ac34cfc52e1a697db9c7ff41244f4cd7102f28a0;p=anneal.git diff --git a/src/Geom.java b/src/Geom.java index a9f9bc2..080690e 100644 --- a/src/Geom.java +++ b/src/Geom.java @@ -196,6 +196,12 @@ public class Geom implements Iterable { E next; // next half-edge E pair; // partner half-edge + public void bind(E e) { bind(e, new M()); } + public void bind(E e, M m) { + p1.bind(e.p2); + p2.bind(e.p1); + } + private void sync() { this.prev.next = this; this.next.prev = this; @@ -282,10 +288,6 @@ public class Geom implements Iterable { public final E e1; public final int color; - public void bind(T t2, int rot) { - // FIXME - } - T(E e1) { this.e1 = e1; E e2 = e1.next;