public class Coordinate
extends java.lang.Object
| Constructor and Description |
|---|
Coordinate()
Creates a coordinate object with a (x, y, z) of (0, 0, 0).
|
Coordinate(int x,
int y,
int z)
Creates a new coordinate object with a specified (x, y, z).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public Coordinate(int x,
int y,
int z)
x - The x coordinate to set.y - The y coordinate to set.z - The z coordinate to set.public Coordinate()