#include <searchlocation.h>
Public Member Functions | |
float | distTo (SearchLocation other) |
bool | operator< (const SearchLocation &other) const |
bool | operator== (const SearchLocation &other) |
SearchLocation () | |
SearchLocation (float _x, float _y, float _theta) | |
Public Attributes | |
float | theta |
float | x |
float | y |
Static Public Attributes | |
static constexpr float | sameness_threshold = 0.1 |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const SearchLocation &loc) |
Definition at line 6 of file searchlocation.h.
|
inline |
Definition at line 13 of file searchlocation.h.
SearchLocation::SearchLocation | ( | float | _x, |
float | _y, | ||
float | _theta | ||
) |
Definition at line 5 of file searchlocation.cpp.
float SearchLocation::distTo | ( | SearchLocation | other | ) |
Definition at line 34 of file searchlocation.cpp.
bool SearchLocation::operator< | ( | const SearchLocation & | other | ) | const |
Definition at line 17 of file searchlocation.cpp.
bool SearchLocation::operator== | ( | const SearchLocation & | other | ) |
Definition at line 12 of file searchlocation.cpp.
|
friend |
Definition at line 20 of file searchlocation.h.
|
static |
Definition at line 11 of file searchlocation.h.
float SearchLocation::theta |
Definition at line 9 of file searchlocation.h.
float SearchLocation::x |
Definition at line 9 of file searchlocation.h.
float SearchLocation::y |
Definition at line 9 of file searchlocation.h.