@groovy.transform.EqualsAndHashCode class Distance extends java.lang.Object
Represents the distance from one Point to another
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
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