public interface IVector3D
Modifier and Type | Method and Description |
---|---|
Vector3D |
add(Vector3D that) |
double |
angleBetween(Vector3D that) |
Vector3D |
cross(Vector3D that) |
int |
dot(Vector3D that) |
double |
magnitude() |
Vector3D |
scalarMultiply(int scalar) |
Vector3D |
subtract(Vector3D that) |
int dot(Vector3D that)
that
- anohter Vector3DVector3D cross(Vector3D that)
that
- another Vector3DVector3D scalarMultiply(int scalar)
scalar
- an integer we are multiplying this Vector3D byVector3D add(Vector3D that)
that
- a Vector3D we are adding this vector toVector3D subtract(Vector3D that)
that
- a Vector3D we are scalar subtractiong this vector fromdouble magnitude()
double angleBetween(Vector3D that)
that
- another Vector3D