20 int const number_of_subdivisions)
22 if (number_of_subdivisions < 0)
25 "generateEquidistantPoints: number of subdivisions is required to "
31 auto const delta = (stop - start) / (number_of_subdivisions + 1);
33 std::vector<GeoLib::Point*> points;
35 for (
int i = 0; i <= number_of_subdivisions; ++i)
37 auto const p = start + i * delta;
40 points.push_back(
new GeoLib::Point{stop[0], stop[1], stop[2]});