AbstractPosition
N-dimensional position.
Parameters
copy
true if it is unsafe to store the coordinates array as-is.
coordinates
the array of coordinates.
Type Parameters
P
actual type
Inheritors
Properties
Functions
Link copied to clipboard
Given a range, produces N coordinates, representing the N opposite vertices of the hypercube having the current coordinate as center and circumscribing the N-sphere defined by the range. In the case of bidimensional coordinates, it must return the opposite vertices of the square circumscribing the circle with center in this position and radius range.
Link copied to clipboard
Computes the distance between this position and another compatible position.