20#ifndef GEOS_ALGORITHM_MINIMUMDIAMETER_H
21#define GEOS_ALGORITHM_MINIMUMDIAMETER_H
23#include <geos/export.h>
76 void computeMinimumDiameter();
118 const bool newIsConvex);
geom::Geometry * getMinimumRectangle()
geom::Coordinate * getWidthCoordinate()
Gets the geom::Coordinate forming one end of the minimum diameter.
static geom::Geometry * getMinimumRectangle(geom::Geometry *geom)
geom::LineString * getDiameter()
Gets a LineString which is a minimum diameter.
double getLength()
Gets the length of the minimum diameter of the input Geometry.
static geom::Geometry * getMinimumDiameter(geom::Geometry *geom)
geom::LineString * getSupportingSegment()
Gets the segment forming the base of the minimum diameter.
MinimumDiameter(const geom::Geometry *newInputGeom)
Compute a minimum diameter for a giver Geometry.
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....
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
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:167
Definition LineSegment.h:57
Definition LineString.h:70
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:33
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Provides classes for various kinds of spatial indexes.
Definition IndexedNestedRingTester.h:31
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25