Euclidean2DPosition
Types
Constant values and utility methods for Euclidean2DPosition.
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.
Performs a coercion at least and at most.
Computes the distance between this position and another compatible position.
Division by a Double.
Computes the dot product between two vectors.
Builds a new Vector from the provided coordinates.
Allows to access the value of a coordinate.
Same as minus, with the internal representation of other.
Considers both positions as vectors, and returns the difference between this position and the passed one.
Find the normal of a vector.
Same as plus, with the internal representation of other.
Considers both positions as vectors, and sums them.
Multiplication by a Double.