20#ifndef GEOS_ALGORITHM_CENTROIDAREA_H
21#define GEOS_ALGORITHM_CENTROIDAREA_H
24#include <geos/export.h>
25#include <geos/geom/Coordinate.h>
60class GEOS_DLL CentroidArea {
void add(const geom::Geometry *geom)
void add(const geom::CoordinateSequence *ring)
bool getCentroid(geom::Coordinate &ret) const
Return false if a centroid couldn't be computed ( empty polygon ).
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
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:167
Represents a linear polygon, which may include holes.
Definition Polygon.h:67
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:33
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25