org.simtk.geometry3d
Class Vector3DFloatArrayWrapper

java.lang.Object
  extended by org.simtk.geometry3d.MathVectorClass
      extended by org.simtk.geometry3d.Vector3DClass
          extended by org.simtk.geometry3d.Vector3DFloatArrayWrapper
All Implemented Interfaces:
java.lang.Iterable, Location, MathVector, MutableMathVector, MutableVector3D, Vector3D

public class Vector3DFloatArrayWrapper
extends Vector3DClass

Author:
Christopher Bruns Vector3D whose underlying x, y, and z values are located in another object

Field Summary
 
Fields inherited from class org.simtk.geometry3d.Vector3DClass
X_AXIS, Y_AXIS, Z_AXIS
 
Constructor Summary
Vector3DFloatArrayWrapper(float[] array, int index)
           
 
Method Summary
 double get(int index)
           
 void set(int index, double value)
           
 
Methods inherited from class org.simtk.geometry3d.Vector3DClass
centroid, centroid, copy, cross, equals, getX, getY, getZ, hashCode, initialize, minus, plus, rotate, setX, setY, setZ, times, toArray, toString, unit, x, y, z
 
Methods inherited from class org.simtk.geometry3d.MathVectorClass
distance, distanceSquared, dot, getDimension, getElement, iterator, length, lengthSquared, minusEquals, plusEquals, selfUnit, timesEquals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.simtk.geometry3d.MathVector
distance, distanceSquared, dot, getDimension, getElement, length, lengthSquared
 
Methods inherited from interface java.lang.Iterable
iterator
 
Methods inherited from interface org.simtk.geometry3d.MutableMathVector
minusEquals, plusEquals, selfUnit, timesEquals
 
Methods inherited from interface org.simtk.geometry3d.MathVector
distance, distanceSquared, dot, getDimension, getElement, length, lengthSquared
 
Methods inherited from interface java.lang.Iterable
iterator
 

Constructor Detail

Vector3DFloatArrayWrapper

public Vector3DFloatArrayWrapper(float[] array,
                                 int index)
Method Detail

set

public void set(int index,
                double value)
Specified by:
set in interface MutableMathVector
Overrides:
set in class MathVectorClass

get

public double get(int index)
Specified by:
get in interface MathVector
Overrides:
get in class MathVectorClass