#include <LinkMatrix.hxx>
Public Member Functions | |
LNode (int x, int y) | |
LNode (std::pair< int, int > m) | |
virtual | ~LNode () |
int | getX () const |
int | getY () const |
std::pair< int, int > | getPos () const |
bool | isEqual (const LNode &o) const |
double | distance (const LNode &o) const |
Protected Attributes | |
int | _x |
int | _y |
Definition at line 46 of file LinkMatrix.hxx.
|
inline |
Definition at line 49 of file LinkMatrix.hxx.
|
inline |
|
inlinevirtual |
Definition at line 51 of file LinkMatrix.hxx.
double LNode::distance | ( | const LNode & | o | ) | const |
|
inline |
Definition at line 54 of file LinkMatrix.hxx.
Referenced by YACS::HMI::LinkAStar::computePath(), and YACS::HMI::LinkAStar::givePath().
|
inline |
Definition at line 52 of file LinkMatrix.hxx.
References _x.
Referenced by YACS::HMI::LinkAStar::addNeighbours(), YACS::HMI::LinkAStar::computePath(), and YACS::HMI::LinkAStar::givePath().
|
inline |
Definition at line 53 of file LinkMatrix.hxx.
References _y.
Referenced by YACS::HMI::LinkAStar::addNeighbours(), YACS::HMI::LinkAStar::computePath(), and YACS::HMI::LinkAStar::givePath().
|
inline |
Definition at line 55 of file LinkMatrix.hxx.
Referenced by YACS::HMI::LinkAStar::givePath().
|
protected |
Definition at line 58 of file LinkMatrix.hxx.
Referenced by distance(), getPos(), getX(), and isEqual().
|
protected |
Definition at line 59 of file LinkMatrix.hxx.
Referenced by distance(), getPos(), getY(), and isEqual().