public Double Distance( Vector2d point) { Vector2d nearest; NearestPointTo(ref point, out nearest); return point.Distance(ref nearest); }