19 #ifndef GEOS_ALGORITHM_CENTROID_H 20 #define GEOS_ALGORITHM_CENTROID_H 31 class CoordinateSequence;
125 bool isPositiveArea);
159 #endif // GEOS_ALGORITHM_CENTROID_H
geom::Coordinate lineCentSum
Coordinate is the lightweight class used to store coordinates.
geom::Coordinate ptCentSum
std::unique_ptr< geom::Coordinate > areaBasePt
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Centroid(const geom::Geometry &geom)
Creates a new instance for computing the centroid of a geometry.
Represents a linear polygon, which may include holes.
Basic namespace for all GEOS functionalities.
geom::Coordinate triangleCent3
The internal representation of a list of coordinates inside a Geometry.
Computes the centroid of a Geometry of any dimension.