SqlSpatialServices.GetEnvelope Method (DbGeometry)

 

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

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override DbGeometry GetEnvelope(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

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

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

The envelope of geometryValue, as a DbGeometry value.