float oldscore = 0;
boolean inserted = false;
+ public Matrix quadric() {
+ Matrix m = new Matrix(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
+ E e = this.e;
+ do {
+ T t = e.t;
+ m = m.plus(t.norm().fundamentalQuadric(t.centroid()));
+ e = e.pair.next;
+ } while(e != this.e);
+ return m;
+ }
+
public Point getPoint() { return p; }
private Vert(Point p) {
this.p = p;