public final class Vector2 extends PrimitiveVector
| Constructor and Description |
|---|
Vector2() |
Vector2(double... values) |
Vector2(double x,
double y) |
| Modifier and Type | Method and Description |
|---|---|
Vector2 |
clone()
Clones the vector, creating a new copy of all data
|
double |
get(int i) |
int |
length() |
void |
set(int i,
double value) |
add, addMultiple, compareTo, copyTo, dotProduct, equals, fill, hashCode, magnitude, magnitudeSquared, multiply, normalise, subtract, subtractMultiple, subVector, toStringCopyright © 2012. All Rights Reserved.