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


Method Summary
 Vector3D cross(Vector3D v2)
           
 double getX()
           
 double getY()
           
 double getZ()
           
 Vector3D minus(MathVector v2)
           
 Vector3D plus(MathVector v2)
           
 Vector3D rotate(Vector3D axis, double angle)
           
 Vector3D times(double s)
           
 double[] toArray()
           
 Vector3D unit()
           
 double x()
           
 double y()
           
 double z()
           
 
Methods inherited from interface org.simtk.geometry3d.MathVector
distance, distanceSquared, dot, get, getDimension, getElement, length, lengthSquared
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

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()