astar.h
Go to the documentation of this file.
1 
2 namespace ast {
3 
4 class point_t {
5 public:
6  uint32_t x, y;
7 
8  point_t(uint32_t x, uint32_t y) : x(x), y(y) {}
9 };
10 
11 bool astar(uint8_t *map, uint32_t width, uint32_t height, const point_t &start, const point_t &goal,
12  std::vector<point_t> &path);
13 }
Definition: astar.h:2
point_t(uint32_t x, uint32_t y)
Definition: astar.h:8
uint32_t x
Definition: astar.h:6
uint32_t y
Definition: astar.h:6
bool astar(uint8_t *map, uint32_t width, uint32_t height, const point_t &start, const point_t &goal, std::vector< point_t > &path)
Definition: findpath.cpp:180


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Feb 28 2022 23:48:55