public override double Distance(Point point) { if (Contains(point)) return 0; return Algorithms.DistanceToLine(point, ExteriorRing.Vertices); }