16 #ifndef GEOS_ALGORITHM_INTERIORPOINTPOINT_H
17 #define GEOS_ALGORITHM_INTERIORPOINTPOINT_H
19 #include <geos/export.h>
20 #include <geos/geom/Coordinate.h>
41 class GEOS_DLL InteriorPointPoint {
46 geom::Coordinate centroid;
50 geom::Coordinate interiorPoint;
57 void add(
const geom::Geometry* geom);
59 void add(
const geom::Coordinate* point);
63 InteriorPointPoint(
const geom::Geometry* g);
65 ~InteriorPointPoint() {}
67 bool getInteriorPoint(geom::Coordinate& ret)
const;
75 #endif // GEOS_ALGORITHM_INTERIORPOINTPOINT_H