20 #ifndef GEOS_ALGORITHM_INTERIORPOINTLINE_H
21 #define GEOS_ALGORITHM_INTERIORPOINTLINE_H
23 #include <geos/export.h>
24 #include <geos/geom/Coordinate.h>
30 class CoordinateSequence;
48 class GEOS_DLL InteriorPointLine {
51 InteriorPointLine(
const geom::Geometry* g);
54 bool getInteriorPoint(geom::Coordinate& ret)
const;
60 geom::Coordinate centroid;
64 geom::Coordinate interiorPoint;
66 void addInterior(
const geom::Geometry* geom);
68 void addInterior(
const geom::CoordinateSequence* pts);
70 void addEndpoints(
const geom::Geometry* geom);
72 void addEndpoints(
const geom::CoordinateSequence* pts);
74 void add(
const geom::Coordinate& point);
81 #endif // GEOS_ALGORITHM_INTERIORPOINTLINE_H