EnvelopeAngle (geography Data Type)
Returns the maximum angle between the point returned by EnvelopeCenter() and a point in the geography instance in degrees.
Syntax
EnvelopeAngle( )
Return Types
SQL Server return type: float
CLR return type: SqlDouble
Examples
This method returns a point in the geography instance in degrees. When used with EnvelopeCenter(), EnvelopeAngle() returns a bounding circle of a geography instance.
Code
DECLARE @g geography = 'LINESTRING(-120 45, -120 0, -90 0)';
SELECT @g.EnvelopeAngle();
See Also