Returns the smallest convex Polygon that contains all the points in the Geometry.
[Visual Basic]
Function ConvexHull() As Geometry
Returns the minimum-area convex polygon containing this Geometry's points.
This obviously applies only to Geometrys 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 |
IGeometry Interface | IGeometry Members | Geotools.Geometries Namespace