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;
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;