132 if (stop < start)
return;
134 points.erase(points.begin() + start, points.begin() + stop);
136 for (std::size_t i = start; i < stop; i += step) {
137 points.erase(points.begin() + (i--));
141 if (stop > start)
return;
143 points.erase(points.begin() + stop, points.begin() + start);
145 throw Exception(
"orderedAxis: step cannot be zero");
147 for (std::size_t i = start; i > stop; i += step)
148 points.erase(points.begin() + i);