org.stellarium.vecmath
Class Rectangle4i

java.lang.Object
  extended by javax.vecmath.Tuple4i
      extended by org.stellarium.vecmath.Rectangle4i
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Rectangle4i
extends javax.vecmath.Tuple4i

In C++ vector4 is a template that can take int, but in java vecmath only float and double exists.

Author:
Fred Simon
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.vecmath.Tuple4i
w, x, y, z
 
Constructor Summary
Rectangle4i(int x, int y, int height, int width)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 int[] toArray()
           
 
Methods inherited from class javax.vecmath.Tuple4i
absolute, absolute, add, add, clamp, clamp, clampMax, clampMax, clampMin, clampMin, clone, equals, get, get, getW, getX, getY, getZ, hashCode, negate, negate, scale, scale, scaleAdd, scaleAdd, set, set, set, setW, setX, setY, setZ, sub, sub, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rectangle4i

public Rectangle4i(int x,
                   int y,
                   int height,
                   int width)
Method Detail

getHeight

public int getHeight()

getWidth

public int getWidth()

toArray

public int[] toArray()