![]() |
Maria GDK 5.0.0.916
Documentation of native code in develop branch
|
#include <MVectorMap.h>
Classes | |
| class | BBFilter |
| Filter on bounding box. More... | |
| class | Filter |
| class | FilterSet |
| struct | Node |
| struct | Polygon |
| struct | Polyline |
| class | TagFilter |
| Filter on a tag = value pair. More... | |
| class | TagMap |
Public Types | |
| enum | FilterOp { FILTER_OP_AND , FILTER_OP_OR } |
Public Member Functions | |
| void | clear () |
| void | clearTags () |
| const std::vector< Node > & | getNodes () const |
| const std::vector< Polyline > & | getWays () const |
| const std::vector< Polygon > & | getPolygons () const |
| void | addPolygon (const Polygon &p) |
| void | addWay (const Polyline &w) |
| void | addNode (const Node &n) |
| double | getMinX () const |
| double | getMaxX () const |
| double | getMinY () const |
| double | getMaxY () const |
| bool | findIntersectingPolygon (double x, double y, Polygon &p) const |
| void | writeGnuplot (const std::string &path) const |
Protected Attributes | |
| double | min_x_ |
| double | min_y_ |
| double | max_x_ |
| double | max_y_ |
| std::vector< Node > | nodes_ |
| std::vector< Polyline > | ways_ |
| std::vector< Polygon > | polys_ |
VectorMap - Generic vector map This class represents a vector map with nodes, polylines and polygons. Each entity can be related to a set of tag/value pairs for classification.