共用方式為


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 命名空間