Abstract Euclidean Position
N-dimensional Euclidean position.
Parameters
actual type
Inheritors
Functions
Computes the angle in radians between two vectors.
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 two vectors, interpreted as points in an Euclidean space. Throws IllegalArgumentException if vectors have different dimensions.
Builds a new Vector from the provided coordinates.
Allows to access the value of a coordinate.
Coordinates for a Cartesian space. Implementors must guarantee that internal state is not exposed.
The dimensions of the space this vector belongs to.
Finds the magnitude of a vector.
Considers both positions as vectors, and returns the difference between this position and the passed one.
Support for subtraction. Note: the dimensions must coincide.
Considers both positions as vectors, and sums them.
Support for sum. Note: the dimensions must coincide.