22 #include <geos/geom/Coordinate.h> 23 #include <geos/geom/LineSegment.h> 26 #include <geos/export.h> 31 class GeometryFactory;
34 class CoordinateSequence;
68 std::unique_ptr<geom::CoordinateSequence> convexHullPts;
72 std::size_t minPtIndex;
74 void computeMinimumDiameter();
96 static std::unique_ptr<geom::Geometry> computeMaximumLine(
120 const bool newIsConvex);
141 std::unique_ptr<geom::LineString> getSupportingSegment();
148 std::unique_ptr<geom::LineString> getDiameter();
161 std::unique_ptr<geom::Geometry> getMinimumRectangle();
169 static std::unique_ptr<geom::Geometry> getMinimumRectangle(
geom::Geometry* geom);
176 static std::unique_ptr<geom::Geometry> getMinimumDiameter(
geom::Geometry* geom);
Definition: LineSegment.h:60
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Basic namespace for all GEOS functionalities.
Definition: Angle.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:44