SqlSpatialFunctions.EnvelopeAngle Method (DbGeography)

 

Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees.

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

[DbFunctionAttribute("SqlServer", "ENVELOPEANGLE")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "geographyValue")]
public static Nullable<double> EnvelopeAngle(
	DbGeography geographyValue
)

Parameters

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

The geography value.

Return Value

Type: System.Nullable<Double>

the maximum angle between the point returned by EnvelopeCenter().