16#ifndef GEOS_ALGORITHM_CENTROIDLINE_H
17#define GEOS_ALGORITHM_CENTROIDLINE_H
20#include <geos/export.h>
21#include <geos/geom/Coordinate.h>
35class GEOS_DLL CentroidLine {
bool getCentroid(geom::Coordinate &ret) const
return false if centroid could not be computed
void add(const geom::Geometry *geom)
Adds the linestring(s) defined by a Geometry to the centroid total.
void add(const geom::CoordinateSequence *pts)
Adds the length defined by an array of coordinates.
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
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