return (float)total;
}
-
public class BindingGroup {
public HashSet<E> es = new HashSet<E>();
public BindingGroup() { }
public Point getPoint() { return p; }
private Vert(Point p) {
this.p = p;
- //this.e = e;
- //if (e==null) throw new Error();
if (pointset.get(p) != null) throw new Error();
pointset.add(this);
}
/** does NOT update bound pairs! */
public boolean transform(Matrix m) {
- // FIXME: screws up kdtree
- // FIXME: screws up hashmap
unscore();
try {
if (pointset.get(this.p)==null) throw new Error();