Euclidean2DPosition
Types
Constant values and utility methods for Euclidean2DPosition.
Properties
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 bidimensional 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.
x coordinate.
y coordinate.
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.
Considers both positions as vectors, and returns the difference between this position and the passed one.
Allows subtraction with a Pair.
Support for subtraction. Note: the dimensions must coincide.
Find the normal of a vector.
Considers both positions as vectors, and sums them.
Allows summaction with a Pair.
Support for sum. Note: the dimensions must coincide.
Multiplication by a Double.