mathematik
Class Vector2i

java.lang.Object
  extended by mathematik.Vector2i
All Implemented Interfaces:
java.io.Serializable

public class Vector2i
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 int x
           
 int y
           
 
Constructor Summary
Vector2i()
           
Vector2i(int[] theVector)
           
Vector2i(int theX, int theY)
           
Vector2i(Vector2i theVector)
           
 
Method Summary
 void scale(float theScalar)
           
 void scale(float theScalar, Vector2i theVector)
           
 void scale(Vector2i theVector)
           
 void set(int[] theVector)
           
 void set(int theX, int theY)
           
 void set(Vector2i theVector)
           
 void sub(Vector2i theVectorA, Vector2i theVectorB)
           
 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
Constructor Detail

Vector2i

public Vector2i()

Vector2i

public Vector2i(int theX,
                int theY)

Vector2i

public Vector2i(Vector2i theVector)

Vector2i

public Vector2i(int[] theVector)
Method Detail

set

public void set(int theX,
                int theY)

set

public void set(Vector2i theVector)

set

public void set(int[] theVector)

sub

public final void sub(Vector2i theVectorA,
                      Vector2i theVectorB)

scale

public final void scale(float theScalar,
                        Vector2i theVector)

scale

public final void scale(float theScalar)

scale

public final void scale(Vector2i theVector)

toString

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


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