void reverse() { std::reverse(coordinates.begin(), coordinates.end()); }
 bool containsRing(const Coords &other) const {
   return std::all_of(other.begin(), other.end(), [&](const GeoCoordinate &c) {
     return utymap::utils::GeoUtils::isPointInPolygon(c, coordinates.begin(), coordinates.end());
   });
 }
 void addToEnd(const Coords &other) { coordinates.insert(coordinates.end(), other.begin(), other.end()); }
Ejemplo n.º 4
0
 inline void addAll(const Coords& other) { coordinates.insert(coordinates.end(), other.begin(), other.end()); }