Returns the smallest convex Polygon that contains all the points in the Geometry.
[Visual Basic]
Overridable Public Function ConvexHull() As Geometry Implements _
IGeometry.ConvexHull
Returns the minimum-area convex polygon containing this Geometry's points.
This obviously applies only to Geometry's which contain 3 or more points; the results for degenerate cases are specified as follows:
Number of Points in argument Geometry | Geometry class of result |
---|---|
0 | Empty GeometryCollection |
1 | Point |
2 | LineString |
3 or more | Polygon |
Geometry Class | Geometry Members | Geotools.Geometries Namespace