DbSpatialServices.GetEnvelope(DbGeometry) Method

Definition

Gets the envelope (minimum bounding box) of the given DbGeometry value, as a geometry value.

public abstract System.Data.Entity.Spatial.DbGeometry GetEnvelope (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetEnvelope : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function GetEnvelope (geometryValue As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The geometry value for which the envelope value should be retrieved.

Returns

The envelope of geometryValue, as a DbGeometry value.

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to