| Package | Description |
|---|---|
| edu.colorado.cires.cmg.mvt.util |
| Modifier and Type | Method and Description |
|---|---|
Vec2d |
Vec2d.add(double x,
double y)
Adds the given values to this vector.
|
Vec2d |
Vec2d.add(Vec2d v)
Adds the given vector 'v' to this vector.
|
Vec2d |
Vec2d.scale(double scalar)
Scales this vector's values by a constant.
|
Vec2d |
Vec2d.set(double x,
double y)
Set the x and y values of this vector.
|
Vec2d |
Vec2d.set(Vec2d v)
Set the x and y values of this vector to match input vector 'v'.
|
Vec2d |
Vec2d.sub(double x,
double y)
Subtracts the given values from this vector.
|
Vec2d |
Vec2d.sub(Vec2d v)
Subtracts the given vector 'v' from this vector.
|
| Modifier and Type | Method and Description |
|---|---|
Vec2d |
Vec2d.add(Vec2d v)
Adds the given vector 'v' to this vector.
|
Vec2d |
Vec2d.set(Vec2d v)
Set the x and y values of this vector to match input vector 'v'.
|
Vec2d |
Vec2d.sub(Vec2d v)
Subtracts the given vector 'v' from this vector.
|
| Constructor and Description |
|---|
Vec2d(Vec2d v)
Constructs instance with values from the input vector 'v'.
|
Copyright © 2022. All rights reserved.