org.simtk.geometry3d
Interface Vector3D
- All Superinterfaces:
- java.lang.Iterable, Location, MathVector
- All Known Subinterfaces:
- MutableVector3D
- All Known Implementing Classes:
- Vector3DClass, Vector3DFloatArrayWrapper
public interface Vector3D
- extends MathVector, Location
Methods inherited from interface java.lang.Iterable |
iterator |
getX
double getX()
getY
double getY()
getZ
double getZ()
x
double x()
y
double y()
z
double z()
cross
Vector3D cross(Vector3D v2)
rotate
Vector3D rotate(Vector3D axis,
double angle)
plus
Vector3D plus(MathVector v2)
- Specified by:
plus
in interface MathVector
minus
Vector3D minus(MathVector v2)
- Specified by:
minus
in interface MathVector
unit
Vector3D unit()
- Specified by:
unit
in interface MathVector
times
Vector3D times(double s)
- Specified by:
times
in interface MathVector
toArray
double[] toArray()