この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
グリッド カバレッジを取得します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Sub GetGridCoverage ( _
isTopmostGrid As Boolean, _
rGridMinX As Double, _
rGridMinY As Double, _
rGridWidth As Double, _
rGridHeight As Double, _
rFuzzX As Double, _
rFuzzY As Double, _
cGridRows As Integer, _
cGridColumns As Integer, _
touched As Boolean(,), _
contained As Boolean(,), _
<OutAttribute> ByRef cCellsTouched As Integer, _
<OutAttribute> ByRef cCellsContained As Integer, _
<OutAttribute> ByRef fGeometryExceedsGrid As Boolean, _
<OutAttribute> ByRef fHasAmbiguousTouchedCells As Boolean _
)
'使用
Dim instance As ISqlSpatialGridIndexable
Dim isTopmostGrid As Boolean
Dim rGridMinX As Double
Dim rGridMinY As Double
Dim rGridWidth As Double
Dim rGridHeight As Double
Dim rFuzzX As Double
Dim rFuzzY As Double
Dim cGridRows As Integer
Dim cGridColumns As Integer
Dim touched As Boolean(,)
Dim contained As Boolean(,)
Dim cCellsTouched As Integer
Dim cCellsContained As Integer
Dim fGeometryExceedsGrid As Boolean
Dim fHasAmbiguousTouchedCells As Boolean
instance.GetGridCoverage(isTopmostGrid, _
rGridMinX, rGridMinY, rGridWidth, _
rGridHeight, rFuzzX, rFuzzY, cGridRows, _
cGridColumns, touched, contained, _
cCellsTouched, cCellsContained, _
fGeometryExceedsGrid, fHasAmbiguousTouchedCells)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
void GetGridCoverage(
bool isTopmostGrid,
double rGridMinX,
double rGridMinY,
double rGridWidth,
double rGridHeight,
double rFuzzX,
double rFuzzY,
int cGridRows,
int cGridColumns,
bool[,] touched,
bool[,] contained,
out int cCellsTouched,
out int cCellsContained,
out bool fGeometryExceedsGrid,
out bool fHasAmbiguousTouchedCells
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
void GetGridCoverage(
bool isTopmostGrid,
double rGridMinX,
double rGridMinY,
double rGridWidth,
double rGridHeight,
double rFuzzX,
double rFuzzY,
int cGridRows,
int cGridColumns,
array<bool,2>^ touched,
array<bool,2>^ contained,
[OutAttribute] int% cCellsTouched,
[OutAttribute] int% cCellsContained,
[OutAttribute] bool% fGeometryExceedsGrid,
[OutAttribute] bool% fHasAmbiguousTouchedCells
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
abstract GetGridCoverage :
isTopmostGrid:bool *
rGridMinX:float *
rGridMinY:float *
rGridWidth:float *
rGridHeight:float *
rFuzzX:float *
rFuzzY:float *
cGridRows:int *
cGridColumns:int *
touched:bool[,] *
contained:bool[,] *
cCellsTouched:int byref *
cCellsContained:int byref *
fGeometryExceedsGrid:bool byref *
fHasAmbiguousTouchedCells:bool byref -> unit
function GetGridCoverage(
isTopmostGrid : boolean,
rGridMinX : double,
rGridMinY : double,
rGridWidth : double,
rGridHeight : double,
rFuzzX : double,
rFuzzY : double,
cGridRows : int,
cGridColumns : int,
touched : boolean[,],
contained : boolean[,],
cCellsTouched : int,
cCellsContained : int,
fGeometryExceedsGrid : boolean,
fHasAmbiguousTouchedCells : boolean
)
パラメーター
- isTopmostGrid
型: System.Boolean
グリッドが最上位レベル (レベル 1) のグリッドかどうかを示します。
- rGridMinX
型: System.Double
グリッドの左下隅の x 座標です。
- rGridMinY
型: System.Double
グリッドの左下隅の y 座標です。
- rGridWidth
型: System.Double
グリッドの幅です。
- rGridHeight
型: System.Double
グリッドの高さです。
- rFuzzX
型: System.Double
x 座標の許容範囲値です。
- rFuzzY
型: System.Double
y 座標の許容範囲値です。
- cGridRows
型: System.Int32
グリッド内の行数です。
- cGridColumns
型: System.Int32
グリッド内の列数です。
- touched
型: array<System.Boolean[,]
セルがオブジェクトに接していたかどうかを示す bool 値の 2 次元配列です。
- contained
型: array<System.Boolean[,]
セルにオブジェクトが含まれていたかどうかを示す bool 値の 2 次元配列です。
- cCellsTouched
型: System.Int32%
このメソッドが戻るとき、オブジェクトが接しているセルの数が含まれています。
- cCellsContained
型: System.Int32%
このメソッドが戻るとき、オブジェクトに含まれているセルの数が含まれています。
- fGeometryExceedsGrid
型: System.Boolean%
このメソッドが戻るとき、オブジェクトがグリッドを超えているかどうかを示す値が含まれています。
- fHasAmbiguousTouchedCells
型: System.Boolean%
このメソッドが戻るとき、オブジェクトにあいあまいに接しているセルが含まれているかどうかを示す値が含まれています。