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