Geotools.Net

IGeometry.GetEnvelope Method 

Returns this Geometrys bounding box.

[Visual Basic]
Function GetEnvelope() As Geometry
[C#]
Geometry GetEnvelope();

Return Value

Returns an empty Point for empty geometries, a Point for Points, or a Polygon in all other cases.

Remarks

If this Geometry is the empty geometry, returns an empty Point. If the Geometry is a point, returns a non-empty Point. Otherwise, returns a Polygon whose point are (minx, miny), (maxx, miny), (maxx, maxy), (minx, maxy), (minx, Miny).

See Also

IGeometry Interface | IGeometry Members | Geotools.Geometries Namespace