public class PathPoint
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
isFirst
Indicates this is the origin
|
int |
xCoord
The x coordinate of this point
|
int |
yCoord
The y coordinate of this point
|
int |
zCoord
The z coordinate of this point
|
| Constructor and Description |
|---|
PathPoint(int p_i2135_1_,
int p_i2135_2_,
int p_i2135_3_) |
| Modifier and Type | Method and Description |
|---|---|
float |
distanceTo(PathPoint p_75829_1_)
Returns the linear distance to another path point
|
float |
distanceToSquared(PathPoint p_75832_1_)
Returns the squared distance to another path point
|
boolean |
equals(java.lang.Object p_equals_1_) |
int |
hashCode() |
boolean |
isAssigned()
Returns true if this point has already been assigned to a path
|
static int |
makeHash(int p_75830_0_,
int p_75830_1_,
int p_75830_2_) |
java.lang.String |
toString() |
public final int xCoord
public final int yCoord
public final int zCoord
public boolean isFirst
public static int makeHash(int p_75830_0_,
int p_75830_1_,
int p_75830_2_)
public float distanceTo(PathPoint p_75829_1_)
public float distanceToSquared(PathPoint p_75832_1_)
public boolean equals(java.lang.Object p_equals_1_)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isAssigned()
public java.lang.String toString()
toString in class java.lang.Object