00001 00012 #ifndef __NODE_VEC_H__ 00013 #define __NODE_VEC_H__ 00014 00015 #include <node_index.h> 00016 00020 #define NULL_NODE_VEC NodeIndex(0, 0, 0) 00021 00025 typedef NodeIndex Direction; 00026 00032 class NodeVec : public NodeIndex { 00033 public: 00039 NodeVec(NodeIndex nodeIdx); 00040 00049 NodeVec(NodeVec pStart, NodeVec pEnd); 00050 00058 Direction getDirection(); 00059 00060 }; 00061 00069 NodeVec operator-(NodeVec p1, NodeVec p2); 00070 00071 #endif // ! __NODE_VEC_H__