Package | Description |
---|---|
org.graphstream.ui.geom |
Modifier and Type | Class and Description |
---|---|
class |
Vector3
A three component vector made of doubles.
|
Modifier and Type | Method and Description |
---|---|
void |
Vector2.add(Vector2 other)
Add each element of other to the corresponding element of this.
|
void |
Vector2.copy(Vector2 other)
Make this a copy of other.
|
double |
Vector2.dotProduct(Vector2 other)
Dot product of this and other.
|
void |
Vector2.mult(Vector2 other)
Multiply each element of this by the corresponding element of other.
|
void |
Vector2.sub(Vector2 other)
Subtract each element of other to the corresponding element of this.
|
Constructor and Description |
---|
Vector2(Vector2 other)
New vector copy of
other . |