Helper functions for working with points. Calculates the distance between two points.
/// Calculates the distance between two points. double distance(Point a, Point b) => a.distanceTo(b);