- absoluteVector2d absolute() 
- Set <code>this</code> vector's components to their respective absolute values. 
- absoluteVector2d absolute(Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- addVector2d add(Vector2d v) 
- Add <code>v</code> to this vector. 
- addVector2d add(double x, double y) 
- Add <code>(x, y)</code> to this vector. 
- addVector2d add(double x, double y, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- addVector2d add(Vector2d v, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- angledouble angle(Vector2d v) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- ceilVector2d ceil() 
- Set each component of this vector to the smallest (closest to negative
infinity) {@code double} value that is greater than or equal to that
component and is equal to a mathematical integer. 
- ceilVector2d ceil(Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- distancedouble distance(Vector2d v) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- distancedouble distance(double x, double y) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- distanceSquareddouble distanceSquared(Vector2d v) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- distanceSquareddouble distanceSquared(double x, double y) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- divVector2d div(double scalar) 
- Divide this Vector2d by the given scalar value. 
- divVector2d div(double scalar, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- divVector2d div(double x, double y) 
- Divide the components of this Vector2d by the given scalar values and store the result in <code>this</code>. 
- divVector2d div(double x, double y, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- divVector2d div(Vector2d v) 
- Divide this Vector2d component-wise by another Vector2d. 
- divVector2d div(Vector2d v, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- dotdouble dot(Vector2d v) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- equalsbool equals(Vector2d v, double delta) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- equalsbool equals(double x, double y) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- floorVector2d floor() 
- Set each component of this vector to the largest (closest to positive
infinity) {@code double} value that is less than or equal to that
component and is equal to a mathematical integer. 
- floorVector2d floor(Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- fmaVector2d fma(Vector2d a, Vector2d b) 
- Add the component-wise multiplication of <code>a * b</code> to this vector. 
- fmaVector2d fma(double a, Vector2d b) 
- Add the component-wise multiplication of <code>a * b</code> to this vector. 
- fmaVector2d fma(Vector2d a, Vector2d b, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- fmaVector2d fma(double a, Vector2d b, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getdouble get(int component) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getVector2i get(int mode, Vector2i dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getVector2d get(Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- hashCodeint hashCode() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isFinitebool isFinite() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- lengthdouble length() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- lengthSquareddouble lengthSquared() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- lerpVector2d lerp(Vector2d other, double t) 
- Linearly interpolate <code>this</code> and <code>other</code> using the given interpolation factor <code>t</code>
and store the result in <code>this</code>.
<p>
If <code>t</code> is <code>0.0</code> then the result is <code>this</code>. If the interpolation factor is <code>1.0</code>
then the result is <code>other</code>. 
- lerpVector2d lerp(Vector2d other, double t, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- maxVector2d max(Vector2d v) 
- Set the components of this vector to be the component-wise maximum of this and the other vector. 
- maxVector2d max(Vector2d v, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- maxComponentint maxComponent() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- minVector2d min(Vector2d v) 
- Set the components of this vector to be the component-wise minimum of this and the other vector. 
- minVector2d min(Vector2d v, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- minComponentint minComponent() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mulVector2d mul(double scalar) 
- Multiply the components of this vector by the given scalar. 
- mulVector2d mul(double scalar, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mulVector2d mul(double x, double y) 
- Multiply the components of this Vector2d by the given scalar values and store the result in <code>this</code>. 
- mulVector2d mul(double x, double y, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mulVector2d mul(Vector2d v) 
- Multiply this Vector2d component-wise by another Vector2d. 
- mulVector2d mul(Vector2d v, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mulVector2d mul(Matrix2d mat) 
- Multiply the given matrix <code>mat</code> with this Vector2d. 
- mulVector2d mul(Matrix2d mat, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mulDirectionVector2d mulDirection(Matrix3x2d mat) 
- Multiply the given 3x2 matrix <code>mat</code> with <code>this</code>.
<p>
This method assumes the <code>z</code> component of <code>this</code> to be <code>0.0</code>. 
- mulDirectionVector2d mulDirection(Matrix3x2d mat, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mulPositionVector2d mulPosition(Matrix3x2d mat) 
- Multiply the given 3x2 matrix <code>mat</code> with <code>this</code>.
<p>
This method assumes the <code>z</code> component of <code>this</code> to be <code>1.0</code>. 
- mulPositionVector2d mulPosition(Matrix3x2d mat, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- mulTransposeVector2d mulTranspose(Matrix2d mat) 
- Multiply the transpose of the given matrix with this Vector2d and store the result in <code>this</code>. 
- mulTransposeVector2d mulTranspose(Matrix2d mat, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- negateVector2d negate() 
- negateVector2d negate(Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- normalizeVector2d normalize() 
- normalizeVector2d normalize(Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- normalizeVector2d normalize(double length) 
- Scale this vector to have the given length. 
- normalizeVector2d normalize(double length, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- perpendicularVector2d perpendicular() 
- Set this vector to be one of its perpendicular vectors. 
- roundVector2d round() 
- Set each component of this vector to the closest double that is equal to
a mathematical integer, with ties rounding to positive infinity. 
- roundVector2d round(Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setVector2d set(double d) 
- Set the x and y components to the supplied value. 
- setVector2d set(double x, double y) 
- Set the x and y components to the supplied values. 
- setVector2d set(Vector2d v) 
- Set this {@link Vector2d} to the values of v. 
- setVector2d set(Vector2i v) 
- Set this {@link Vector2d} to be a clone of <code>v</code>. 
- setVector2d set(double[] xy) 
- Set the two components of this vector to the first two elements of the given array. 
- setComponentVector2d setComponent(int component, double value) 
- Set the value of the specified component of this vector. 
- subVector2d sub(Vector2d v) 
- Subtract <code>v</code> from this vector. 
- subVector2d sub(double x, double y) 
- Subtract <code>(x, y)</code> from this vector. 
- subVector2d sub(double x, double y, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- subVector2d sub(Vector2d v, Vector2d dest) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- zeroVector2d zero() 
- Set all components to zero. 
Represents a 2D vector with double-precision.
@author RGreenlees @author Kai Burjack @author F. Neurath