SqlSpatialFunctions.EnvelopeCenter Method (DbGeography)

 

Returns a point that can be used as the center of a bounding circle for the geography instance.

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

[DbFunctionAttribute("SqlServer", "ENVELOPECENTER")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "geographyValue")]
public static DbGeography EnvelopeCenter(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value.

Return Value

Type: System.Data.Entity.Spatial.DbGeography

A SqlGeography value that specifies the location of the center of a bounding circle.