unc.cdva.utils
Class MyVector3f

java.lang.Object
  extended by unc.cdva.utils.MyVector3f

public class MyVector3f
extends java.lang.Object


Constructor Summary
MyVector3f()
           
MyVector3f(float x, float y, float z)
           
MyVector3f(MyVector3f copy)
           
MyVector3f(javax.vecmath.Vector3f copy)
           
 
Method Summary
 float distance(MyVector3f rhs)
           
 float getX()
           
 float getY()
           
 float getZ()
           
 float length()
           
 MyVector3f sub(MyVector3f rhs)
           
 java.lang.String toString()
           
 javax.vecmath.Vector3f toVector3f()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyVector3f

public MyVector3f(float x,
                  float y,
                  float z)

MyVector3f

public MyVector3f()

MyVector3f

public MyVector3f(MyVector3f copy)

MyVector3f

public MyVector3f(javax.vecmath.Vector3f copy)
Method Detail

distance

public float distance(MyVector3f rhs)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toVector3f

public javax.vecmath.Vector3f toVector3f()

sub

public MyVector3f sub(MyVector3f rhs)

length

public float length()

getX

public float getX()

getY

public float getY()

getZ

public float getZ()