Support Forum G3D Web Page |
Used by findPath. More...
Public Member Functions | |
Step (const Node &to, float startCost, float goalCost, const NodeOrNull &from=NodeOrNull()) | |
Step () | |
float | totalCost () const |
Public Attributes | |
float | costFromStart |
Known exactly. More... | |
float | costToGoal |
Estimated. More... | |
NodeOrNull | from |
The beginning of the step, which may be nullptr for the first step. More... | |
bool | inQueue |
Is this step currently in the priority queue? More... | |
Node | to |
The end of the step. More... | |
Used by findPath.
|
inline |
|
inline |
|
inline |
Referenced by G3D::Pathfinder< Node, HashFunc >::findPath().
float G3D::Pathfinder< Node, HashFunc >::Step::costFromStart |
Known exactly.
Referenced by G3D::Pathfinder< Node, HashFunc >::findPath(), and G3D::Pathfinder< Node, HashFunc >::Step::totalCost().
float G3D::Pathfinder< Node, HashFunc >::Step::costToGoal |
Estimated.
Referenced by G3D::Pathfinder< Node, HashFunc >::Step::totalCost().
NodeOrNull G3D::Pathfinder< Node, HashFunc >::Step::from |
The beginning of the step, which may be nullptr for the first step.
Referenced by G3D::Pathfinder< Node, HashFunc >::findPath().
bool G3D::Pathfinder< Node, HashFunc >::Step::inQueue |
Is this step currently in the priority queue?
Referenced by G3D::Pathfinder< Node, HashFunc >::findPath().
Node G3D::Pathfinder< Node, HashFunc >::Step::to |
The end of the step.
Referenced by G3D::Pathfinder< Node, HashFunc >::findPath().