20 #include <yaml-cpp/yaml.h> 41 void load(
const YAML::Node& node);
int getPoints() const
Gets the number of points of the polyline.
Definition: Polyline.cpp:110
double getLongitude(int i) const
Gets the longitude of a point.
Definition: Polyline.cpp:91
void setLongitude(int i, double lon)
Sets the longitude of a point.
Definition: Polyline.cpp:101
void load(const YAML::Node &node)
Loads the polyline from YAML.
Definition: Polyline.cpp:48
double getLatitude(int i) const
Gets the latitude of a point.
Definition: Polyline.cpp:71
void setLatitude(int i, double lat)
Sets the latitude of a point.
Definition: Polyline.cpp:81
Polyline(int points)
Creates a polyline with a number of points.
Definition: Polyline.cpp:29
~Polyline()
Cleans up the polyline.
Definition: Polyline.cpp:38
Represents a polyline in the world map.
Definition: Polyline.h:30
Definition: BaseInfoState.cpp:40