17 #ifndef GEOS_ALGORITHM_CENTROIDLINE_H
18 #define GEOS_ALGORITHM_CENTROIDLINE_H
21 #include <geos/export.h>
22 #include <geos/geom/Coordinate.h>
28 class CoordinateSequence;
35 class GEOS_DLL CentroidLine {
38 geom::Coordinate centSum;
58 void add(
const geom::Geometry *geom);
65 void add(
const geom::CoordinateSequence *pts);
67 geom::Coordinate* getCentroid()
const;
70 bool getCentroid(geom::Coordinate& ret)
const;
77 #endif // GEOS_ALGORITHM_CENTROIDLINE_H