public class SearchNode extends java.lang.Object implements java.lang.Comparable<SearchNode>
Modifier and Type | Field and Description |
---|---|
float |
f |
float |
g |
float |
h |
byte |
searchStatus |
int |
x |
int |
y |
int |
z |
Constructor and Description |
---|
SearchNode(int x,
int y,
int z,
float g,
float h,
SearchNode predecessor,
byte searchStatus) |
Modifier and Type | Method and Description |
---|---|
Path |
asPath(double x_spacing,
double y_spacing,
double z_spacing,
java.lang.String spacing_units) |
Path |
asPathReversed(double x_spacing,
double y_spacing,
double z_spacing,
java.lang.String spacing_units) |
int |
compareTo(SearchNode o) |
boolean |
equals(java.lang.Object other) |
SearchNode |
getPredecessor() |
int |
hashCode() |
void |
setFrom(SearchNode another) |
void |
setPredecessor(SearchNode p) |
java.lang.String |
toString() |
public int x
public int y
public int z
public float g
public float h
public float f
public byte searchStatus
public SearchNode(int x, int y, int z, float g, float h, SearchNode predecessor, byte searchStatus)
public SearchNode getPredecessor()
public void setPredecessor(SearchNode p)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setFrom(SearchNode another)
public int compareTo(SearchNode o)
compareTo
in interface java.lang.Comparable<SearchNode>
public java.lang.String toString()
toString
in class java.lang.Object
public Path asPath(double x_spacing, double y_spacing, double z_spacing, java.lang.String spacing_units)
public Path asPathReversed(double x_spacing, double y_spacing, double z_spacing, java.lang.String spacing_units)