ISqlSpatialGridIndexable.GetBoundingBoxCorners Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Returns the bounding box corners of the SqlGeography or SqlGeometry instance.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
Sub GetBoundingBoxCorners ( _
    <OutAttribute> ByRef minX As Double, _
    <OutAttribute> ByRef minY As Double, _
    <OutAttribute> ByRef maxX As Double, _
    <OutAttribute> ByRef maxY As Double _
)
'Usage
Dim instance As ISqlSpatialGridIndexable
Dim minX As Double
Dim minY As Double
Dim maxX As Double
Dim maxY As Double

instance.GetBoundingBoxCorners(minX, _
    minY, maxX, maxY)
void GetBoundingBoxCorners(
    out double minX,
    out double minY,
    out double maxX,
    out double maxY
)
void GetBoundingBoxCorners(
    [OutAttribute] double% minX, 
    [OutAttribute] double% minY, 
    [OutAttribute] double% maxX, 
    [OutAttribute] double% maxY
)
abstract GetBoundingBoxCorners : 
        minX:float byref * 
        minY:float byref * 
        maxX:float byref * 
        maxY:float byref -> unit 
function GetBoundingBoxCorners(
    minX : double, 
    minY : double, 
    maxX : double, 
    maxY : double
)

Parameters

  • minX
    Type: System.Double%
    When this method returns, contains the x-coordinate of the lower-left corner of the bounding box.
  • minY
    Type: System.Double%
    When this method returns, contains the y-coordinate of the lower-left corner of the bounding box.
  • maxX
    Type: System.Double%
    When this method returns, contains the x-coordinate of the upper-right corner of the bounding box.
  • maxY
    Type: System.Double%
    When this method returns, contains the y-coordinate of the upper-right corner of the bounding box.

See Also

Reference

ISqlSpatialGridIndexable Interface

Microsoft.SqlServer.Types Namespace