mathematik
Class Vector3i

java.lang.Object
  extended by mathematik.Vector3i
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Vector3i>

public class Vector3i
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<Vector3i>

See Also:
Serialized Form

Field Summary
 int x
           
 int y
           
 int z
           
 
Constructor Summary
Vector3i()
           
Vector3i(int[] theVector)
           
Vector3i(int theX, int theY, int theZ)
           
Vector3i(Vector3i theVector)
           
 
Method Summary
 int compareTo(Vector3i theVector3i)
           
 float lengthSquared()
           
 void set(int[] theVector)
           
 void set(int theX, int theY, int theZ)
           
 void set(Vector3i theVector)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public int x

y

public int y

z

public int z
Constructor Detail

Vector3i

public Vector3i()

Vector3i

public Vector3i(int theX,
                int theY,
                int theZ)

Vector3i

public Vector3i(Vector3i theVector)

Vector3i

public Vector3i(int[] theVector)
Method Detail

set

public void set(int theX,
                int theY,
                int theZ)

set

public void set(Vector3i theVector)

set

public void set(int[] theVector)

toString

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

lengthSquared

public final float lengthSquared()

compareTo

public int compareTo(Vector3i theVector3i)
Specified by:
compareTo in interface java.lang.Comparable<Vector3i>


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009