语言

ISqlSpatialGridIndexable.GetGridCoverage 方法

定义

获取网格覆盖率。

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public 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);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
abstract member GetGridCoverage : bool * double * double * double * double * double * double * int * int * bool[,] * bool[,] * int * int * bool * bool -> unit
Public 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(,), ByRef cCellsTouched As Integer, ByRef cCellsContained As Integer, ByRef fGeometryExceedsGrid As Boolean, ByRef fHasAmbiguousTouchedCells As Boolean)

参数

isTopmostGrid
Boolean

指示网格是否为顶级(级别 1)网格。

rGridMinX
Double

网格左下角的 x 坐标。

rGridMinY
Double

网格左下角的 y 坐标。

rGridWidth
Double

网格的宽度。

rGridHeight
Double

网格的高度。

rFuzzX
Double

x 坐标容差值。

rFuzzY
Double

y 坐标容差值。

cGridRows
Int32

网格中的行数。

cGridColumns
Int32

网格中的列数。

touched
Boolean[,]

布尔值的二维数组,指定单元格是否触摸对象。

contained
Boolean[,]

布尔值的二维数组,指定单元格是否包含该对象。

cCellsTouched
Int32

此方法返回时,包含对象触摸的单元格数。

cCellsContained
Int32

此方法返回时,包含对象包含的单元格数。

fGeometryExceedsGrid
Boolean

此方法返回时,包含一个值,该值指示对象是否超过网格。

fHasAmbiguousTouchedCells
Boolean

此方法返回时,包含一个值,该值指示对象是否包含不明确的触摸单元格。

属性

适用于