Computes the distance between two coordinates in the space.
Computes the distance between two coordinates in the space.
Source coordinate to compute distance from
Destination coordinate to compute distance to
Distance from source to destination
Converts an array to a EuclideanCoordinate.
Converts an array to a EuclideanCoordinate.
Used in optimization functions that use the array representation as points in the system.
The function should be the inverse of toArray.
Array to convert
EuclideanCoordinate representation of the array
Converts the EuclideanCoordinate to an array form.
Converts the EuclideanCoordinate to an array form.
Used in optimization functions that use the array representation as points in the system.
The function should be the inverse of fromArray.
The extracted array is a copy of the wrapped array of the class - any mutations done to the array returned will not impact the EuclideanCoordinate instance.
Coordinate to convert
Array representation of the point
Typeclass implementation of sand.gcs.coordinate.DistanceComputable for EuclideanCoordinate.