/** * This ABSOLUTELY has to be public! Otherwise you CANNOT workaround * the major accuracy-bugs in the AS3Delaunay library (because it does NOT * use stable, consistent data, sadly: you cannot compare two Point objects * and get a correct answer to "isEqual", it corrupts them at a micro level :( ) */ public static bool CloseEnough(Point p0, Point p1) { return(DelaunayHelpers.Distance(p0, p1) < EPSILON); }
public double SitesDistance() { return(DelaunayHelpers.Distance(leftSite.Coord, rightSite.Coord)); }
public double Dist(ICoord p) { return(DelaunayHelpers.Distance(p.Coord, this._coord)); }