MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / Polyline

Method Polyline

src/Geoscape/Polyline.cpp:28–32  ·  view source on GitHub ↗

* Initializes the polyline with arrays to store each point's coordinates. * @param points Number of points. */

Source from the content-addressed store, hash-verified

26 * @param points Number of points.
27 */
28Polyline::Polyline(int points) : _points(points)
29{
30 _lat = new double[points];
31 _lon = new double[points];
32}
33
34/**
35 * Deletes the arrays from memory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected