21#include <geos/export.h>
22#include <geos/geom/Coordinate.h>
30class CoordinateSequence;
99 std::unique_ptr<geom::Coordinate> areaBasePt;
124 bool isPositiveArea);
Computes the centroid of a Geometry of any dimension.
Definition: Centroid.h:60
Centroid(const geom::Geometry &geom)
Creates a new instance for computing the centroid of a geometry.
Definition: Centroid.h:78
static bool getCentroid(const geom::Geometry &geom, geom::Coordinate ¢)
Computes the centroid point of a geometry.
bool getCentroid(geom::Coordinate ¢) const
Gets the computed centroid.
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Represents a linear polygon, which may include holes.
Definition: Polygon.h:61
Basic namespace for all GEOS functionalities.
Definition: geos.h:39