19#include <geos/geom/CoordinateSequenceFilter.h>
20#include <geos/geom/Coordinate.h>
21#include <geos/export.h>
39class VertexRingCounter :
public CoordinateSequenceFilter
44 VertexRingCounter(std::map<Coordinate, std::size_t>& counts)
45 : vertexCounts(counts)
52 bool isDone()
const override {
56 void filter_ro(
const CoordinateSequence& seq, std::size_t i)
override;
59 const std::vector<const Geometry*>& geoms,
60 std::map<Coordinate, std::size_t>& counts);
64 std::map<Coordinate, std::size_t>& vertexCounts;
Interface for classes which provide operations that can be applied to the coordinates in a Coordinate...
Definition CoordinateSequenceFilter.h:55
virtual bool isDone() const =0
Reports whether the application of this filter can be terminated.
virtual bool isGeometryChanged() const =0
Reports whether the execution of this filter has modified the coordinates of the geometry.
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Basic namespace for all GEOS functionalities.
Definition geos.h:39