Computes the minimum diameter of a {link Geometry}. The minimum diameter is defined to be the width of the smallest band that contains the geometry, where a band is a strip of the plane defined by two parallel lines. This can be thought of as the smallest hole that the geometry can be moved through, with a single rotation.
The first step in the algorithm is computing the convex hull of the Geometry. If the input Geometry is known to be convex, a hint can be supplied to avoid this computation.
This class can also be used to compute a line segment representing the minimum diameter, the supporting line segment of the minimum diameter, and a minimum rectangle enclosing the input geometry. This rectangle will have width equal to the minimum diameter, and have one side parallel to the supporting segment.
- See also
ConvexHull
- Version
1.7
- Companion
- class
Value members
Concrete methods
Gets the length of the minimum diameter enclosing a geometry
Gets the length of the minimum diameter enclosing a geometry
- Value Params
- geom
the geometry return the length of the minimum diameter of the geometry