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 Definition: LineSegment.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:188
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Computes the minimum diameter of a geom::Geometry.
Definition: MinimumDiameter.h:63
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58