20 #ifndef GEOS_ALGORITHM_MINIMUMDIAMETER_H
21 #define GEOS_ALGORITHM_MINIMUMDIAMETER_H
23 #include <geos/geom/Coordinate.h>
24 #include <geos/geom/LineSegment.h>
27 #include <geos/export.h>
34 class CoordinateSequence;
68 std::unique_ptr<geom::CoordinateSequence> convexHullPts;
74 void computeMinimumDiameter();
116 const bool newIsConvex);
137 std::unique_ptr<geom::LineString> getSupportingSegment();
144 std::unique_ptr<geom::LineString> getDiameter();
157 std::unique_ptr<geom::Geometry> getMinimumRectangle();
165 static std::unique_ptr<geom::Geometry> getMinimumRectangle(
geom::Geometry* geom);
172 static std::unique_ptr<geom::Geometry> getMinimumDiameter(
geom::Geometry* geom);
179 #endif // GEOS_ALGORITHM_MINIMUMDIAMETER_H