}
public void checkLegality() {
+ /*
for(E e = this.e; e!=null; e=e.pair.next==this.e?null:e.pair.next) {
if (Math.abs(e.crossAngle()) > (Math.PI * 0.9) ||
Math.abs(e.next.crossAngle()) > (Math.PI * 0.9)) illegal = true;
- //if (e.t.aspect() < 0.1) illegal = true;
+ if (e.t.aspect() < 0.1) illegal = true;
}
+ */
if (!illegal) triangles.range(oldp, this.p, (Visitor<T>)this);
}
p2.p.distance(error_against.nearest(p2.p).p))/2;
return nearest_distance/other_distance;
*/
- //return length();
- return t==null?0:(1/t.aspect());
+ return length();
+ //return t==null?0:(1/t.aspect());
}
public int compareTo(E e) {
return e.comparator() > comparator() ? 1 : -1;