Position
An interface to represent a generic coordinates system.
Parameters
the actual {@link Position} type: this strategy allows to progressively refine the {@link Position} by inheritance, allowing for specifying incrementally fine grained model elements.
Inheritors
Properties
Functions
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 two dimensional coordinates, it must return the opposite vertices of the square circumscribing the circle with center in this position and radius range.
Computes the distance between this position and another compatible position.
Allows to access the value of a coordinate.
Considers both positions as vectors, and returns the difference between this position and the passed one.
Considers both positions as vectors, and sums them.