19 #ifndef OPENXCOM_POLYLINE_H
20 #define OPENXCOM_POLYLINE_H
void setLongitude(int i, double lon)
Sets the longitude of a point.
Definition: Polyline.cpp:78
void setLatitude(int i, double lat)
Sets the latitude of a point.
Definition: Polyline.cpp:58
Polyline(int points)
Creates a polyline with a number of points.
Definition: Polyline.cpp:28
~Polyline()
Cleans up the polyline.
Definition: Polyline.cpp:37
int getPoints() const
Gets the number of points of the polyline.
Definition: Polyline.cpp:87
double getLongitude(int i) const
Gets the longitude of a point.
Definition: Polyline.cpp:68
Represents a polyline in the world map.
Definition: Polyline.h:30
double getLatitude(int i) const
Gets the latitude of a point.
Definition: Polyline.cpp:48