com.croftsoft.core.math.geom
Class Point3DI

java.lang.Object
  extended by com.croftsoft.core.math.geom.Point3DI
All Implemented Interfaces:
Serializable, Cloneable

public final class Point3DI
extends Object
implements Cloneable, Serializable

A mutable point in three-dimensional integer space (x, y, and z).

Since:
2001-03-07
Version:
$Id: Point3DI.java,v 1.3 2008/09/20 02:51:51 croft Exp $
See Also:
Serialized Form
Author:
David Wallace Croft

Constructor Summary
Point3DI()
           
Point3DI(int x, int y, int z)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object other)
           
static boolean equivalent(Point3DI aPoint3DI, Point3DI bPoint3DI)
           
 int getX()
           
 int getY()
           
 int getZ()
           
 int hashCode()
           
 void setX(int x)
           
 void setY(int y)
           
 void setZ(int z)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point3DI

public Point3DI(int x,
                int y,
                int z)

Point3DI

public Point3DI()
Method Detail

equivalent

public static boolean equivalent(Point3DI aPoint3DI,
                                 Point3DI bPoint3DI)

getX

public int getX()

getY

public int getY()

getZ

public int getZ()

setX

public void setX(int x)

setY

public void setY(int y)

setZ

public void setZ(int z)

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)