20 #ifndef GEOS_ALGORITHM_MINIMUMDIAMETER_H 21 #define GEOS_ALGORITHM_MINIMUMDIAMETER_H 34 class CoordinateSequence;
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
Coordinate is the lightweight class used to store coordinates.
geom::LineSegment minBaseSeg
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
const geom::Geometry * inputGeom
geom::Coordinate minWidthPt
Basic namespace for all GEOS functionalities.
Computes the minimum diameter of a geom::Geometry.
std::unique_ptr< geom::CoordinateSequence > convexHullPts
The internal representation of a list of coordinates inside a Geometry.