rpos::features::location_provider::RectangleAreaMap Class
Rectangle area map.
Header File
rpos/features/location_provider/rectangle_area_map.h
Applies to
- Slamware
Parent Class
rpos::features::location_provider::Map
Operators
/**
* Retrieve a specific point distribution with the given index.
*/
const PointPDF& operator[](size_t i) const
/**
* Get the reference to a specific point distribution with the given index.
*/
PointPDF& operator[](size_t i);
Methods
static PointsMap createMap(rpos::system::types::_u64 timestamp = 0);
/**
* Read map data from the given input stream.
*/
virtual bool readFromStream(rpos::system::io::IStream &in);
/**
* Write the map data to the given output stream.
*/
virtual bool writeToStream(rpos::system::io::IStream &out) const;
/**
* Id field.
*/
std::string Id() const;
std::string& Id();
/**
* Clear map data.
*/
void clear();
/**
* Get the size of the map.
*/
size_t size() const;
/**
* Resize the map to a new size.
*/
void resize(size_t N);
/**
* add rectangle area.
*/
void addRectangleAreas(const std::vector<artifact_provider::RectangleArea>& areas);