19 #include <geos/geom/Coordinate.h> 20 #include <geos/geom/LineSegment.h> 23 #include <geos/export.h> 28 class GeometryFactory;
31 class CoordinateSequence;
69 std::unique_ptr<geom::CoordinateSequence> convexHullPts;
73 std::size_t minPtIndex;
75 void computeMinimumDiameter();
97 static std::unique_ptr<geom::Geometry> computeMaximumLine(
121 const bool newIsConvex);
142 std::unique_ptr<geom::LineString> getSupportingSegment();
149 std::unique_ptr<geom::LineString> getDiameter();
164 std::unique_ptr<geom::Geometry> getMinimumRectangle();
173 static std::unique_ptr<geom::Geometry> getMinimumRectangle(
geom::Geometry* geom);
180 static std::unique_ptr<geom::Geometry> getMinimumDiameter(
geom::Geometry* geom);
Definition: LineSegment.h:61
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:216
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:65
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
Computes the minimum diameter of a geom::Geometry.
Definition: MinimumDiameter.h:64
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:56