Class Vect

java.lang.Object
  |
  +--Vect
All Implemented Interfaces:
java.io.Serializable

class Vect
extends java.lang.Object
implements java.io.Serializable


Field Summary
private static long serialVersionUID
           
 double[] X
           
 
Constructor Summary
Vect()
           
Vect(double x, double y, double z)
           
Vect(Vect old)
           
 
Method Summary
 void copyVal(Vect old)
           
(package private) static Vect cross(Vect A, Vect B)
           
(package private) static double dot(Vect A, Vect B)
           
 boolean equals(java.lang.Object o)
           
 double hdist(Vect other)
           
 double mag()
           
 void print()
           
 void scale(double s)
           
 java.lang.String toString()
           
 double vdist(Vect other)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

X

public double[] X
Constructor Detail

Vect

public Vect()

Vect

public Vect(double x,
            double y,
            double z)

Vect

public Vect(Vect old)
Method Detail

copyVal

public void copyVal(Vect old)

cross

static Vect cross(Vect A,
                  Vect B)

dot

static double dot(Vect A,
                  Vect B)

mag

public double mag()

print

public void print()

toString

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

scale

public void scale(double s)

hdist

public double hdist(Vect other)

vdist

public double vdist(Vect other)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object