17#include <geos/export.h>
25 class CoordinateSequence;
28 class GeometryFactory;
60 using CoordinateXY = geos::geom::CoordinateXY;
74 std::unique_ptr<Geometry> getMinimumRectangle();
76 std::unique_ptr<Geometry> computeConvex(
const Geometry* convexGeom);
88 std::size_t findFurthestVertex(
91 std::size_t startIndex,
94 bool isFurtherOrEqual(
double d1,
double d2,
int orient);
96 static double orientedDistance(
98 const CoordinateXY& p,
101 static std::size_t getNextIndex(
111 static std::unique_ptr<LineString> computeMaximumLine(
124 : m_inputGeom(inputGeom)
138 : m_inputGeom(inputGeom)
139 , m_isConvex(isConvex)
Definition MinimumAreaRectangle.h:58
MinimumAreaRectangle(const Geometry *inputGeom, bool isConvex)
Definition MinimumAreaRectangle.h:137
MinimumAreaRectangle(const Geometry *inputGeom)
Definition MinimumAreaRectangle.h:123
static std::unique_ptr< Geometry > getMinimumRectangle(const Geometry *geom)
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition GeometryFactory.h:70
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Definition LineSegment.h:61
Definition LineString.h:66
Represents a linear polygon, which may include holes.
Definition Polygon.h:61
Basic namespace for all GEOS functionalities.
Definition geos.h:39