20 #ifndef GEOS_ALGORITHM_MINIMUMDIAMETER_H
21 #define GEOS_ALGORITHM_MINIMUMDIAMETER_H
23 #include <geos/export.h>
32 class CoordinateSequence;
76 void computeMinimumDiameter();
118 const bool newIsConvex);
179 #endif // GEOS_ALGORITHM_MINIMUMDIAMETER_H
geom::LineString * getSupportingSegment()
Gets the segment forming the base of the minimum diameter.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
static geom::Geometry * getMinimumRectangle(geom::Geometry *geom)
MinimumDiameter(const geom::Geometry *newInputGeom, const bool newIsConvex)
Compute a minimum diameter for a given Geometry, with a hint if the Geometry is convex (e....
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:177
MinimumDiameter(const geom::Geometry *newInputGeom)
Compute a minimum diameter for a giver Geometry.
geom::LineString * getDiameter()
Gets a LineString which is a minimum diameter.
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
static geom::Geometry * getMinimumDiameter(geom::Geometry *geom)
Definition: LineSegment.h:57
double getLength()
Gets the length of the minimum diameter of the input Geometry.
geom::Coordinate * getWidthCoordinate()
Gets the geom::Coordinate forming one end of the minimum diameter.
geom::Geometry * getMinimumRectangle()
Definition: LineString.h:70
Computes the minimum diameter of a geom::Geometry.
Definition: MinimumDiameter.h:65