17 #include <geos/export.h>
36 using geos::geom::CoordinateXY;
76 std::unique_ptr<Geometry> getMinimumRectangle();
78 std::unique_ptr<Geometry> computeConvex(
const Geometry* convexGeom);
90 std::size_t findFurthestVertex(
93 std::size_t startIndex,
96 bool isFurtherOrEqual(
double d1,
double d2,
int orient);
98 static double orientedDistance(
100 const CoordinateXY& p,
103 static std::size_t getNextIndex(
113 static std::unique_ptr<LineString> computeMaximumLine(
126 : m_inputGeom(inputGeom)
140 : m_inputGeom(inputGeom)
141 , m_isConvex(isConvex)
Definition: MinimumAreaRectangle.h:67
static std::unique_ptr< Geometry > getMinimumRectangle(const Geometry *geom)
MinimumAreaRectangle(const Geometry *inputGeom, bool isConvex)
Definition: MinimumAreaRectangle.h:139
MinimumAreaRectangle(const Geometry *inputGeom)
Definition: MinimumAreaRectangle.h:125
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:65
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:186
Definition: LineSegment.h:61
Definition: LineString.h:65
Represents a linear polygon, which may include holes.
Definition: Polygon.h:60
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25