@EqualsAndHashCode class Distance extends Object
Represents the distance from one Point to another
The metric used to calculate radians. See Distance.inRadians
The value representing the distance
Constructs a distance for the given value and optional metric
value - The valuemetric - The metricGroovy Documentation