19 #ifndef GEOS_ALGORITHM_CENTROID_H 20 #define GEOS_ALGORITHM_CENTROID_H 22 #include <geos/export.h> 23 #include <geos/geom/Coordinate.h> 31 class CoordinateSequence;
100 std::unique_ptr<geom::Coordinate> areaBasePt;
125 bool isPositiveArea);
159 #endif // GEOS_ALGORITHM_CENTROID_H 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:188
Centroid(const geom::Geometry &geom)
Creates a new instance for computing the centroid of a geometry.
Definition: Centroid.h:79
Represents a linear polygon, which may include holes.
Definition: Polygon.h:64
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58
Computes the centroid of a Geometry of any dimension.
Definition: Centroid.h:61