16 #ifndef GEOS_ALGORITHM_CENTROIDLINE_H
17 #define GEOS_ALGORITHM_CENTROIDLINE_H
20 #include <geos/export.h>
21 #include <geos/geom/Coordinate.h>
27 class CoordinateSequence;
77 #endif // GEOS_ALGORITHM_CENTROIDLINE_H
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Definition: CentroidLine.h:35
void add(const geom::Geometry *geom)
Adds the linestring(s) defined by a Geometry to the centroid total.
bool getCentroid(geom::Coordinate &ret) const
return false if centroid could not be computed
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:177
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
void add(const geom::CoordinateSequence *pts)
Adds the length defined by an array of coordinates.