| Constructor and Description |
|---|
Vec3i(double xIn,
double yIn,
double zIn) |
Vec3i(int xIn,
int yIn,
int zIn) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Vec3i p_compareTo_1_) |
Vec3i |
crossProduct(Vec3i vec)
Calculate the cross product of this and the given Vector
|
boolean |
equals(java.lang.Object p_equals_1_) |
int |
getX()
Get the X coordinate
|
double |
getXD()
Get the X coordinate as a double
|
int |
getY()
Get the Y coordinate
|
double |
getYD()
Get the Y coordinate as a double
|
int |
getZ()
Get the Z coordinate
|
double |
getZD()
Get the Z coordinate as a double
|
int |
hashCode() |
java.lang.String |
toString() |
public Vec3i(int xIn,
int yIn,
int zIn)
public Vec3i(double xIn,
double yIn,
double zIn)
public boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Vec3i p_compareTo_1_)
compareTo in interface java.lang.Comparable<Vec3i>public int getX()
public int getY()
public int getZ()
public double getXD()
public double getYD()
public double getZD()
public Vec3i crossProduct(Vec3i vec)
public java.lang.String toString()
toString in class java.lang.Object