ISqlSpatialGridIndexable.GetBoundingBoxCorners 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

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

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
Sub GetBoundingBoxCorners ( _
    <OutAttribute> ByRef minX As Double, _
    <OutAttribute> ByRef minY As Double, _
    <OutAttribute> ByRef maxX As Double, _
    <OutAttribute> ByRef maxY As Double _
)
用法
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
)

参数

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

请参阅

参考

ISqlSpatialGridIndexable 接口

Microsoft.SqlServer.Types 命名空间