ISqlSpatialGridIndexable.GetGridCoverage 方法 (Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, Boolean[,], Boolean , Int32, Int32, Boolean, Boolean)
此 API 支持 产品 基础结构,不应从代码直接使用。
获取网格覆盖。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[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
<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
)
参数
isTopmostGrid
Type: System.Boolean指示网格是否为顶级(级别 1)网格。
rGridMinX
Type: System.Double网格左下角的 x 坐标。
rGridMinY
Type: System.Double网格左下角的 y 坐标。
rGridWidth
Type: System.Double网格的宽度。
rGridHeight
Type: System.Double网格的高度。
rFuzzX
Type: System.Doublex 坐标容差值。
rFuzzY
Type: System.Doubley 坐标容差值。
cGridRows
Type: System.Int32网格中的行数。
cGridColumns
Type: System.Int32网格中的列数。
touched
Type: System.Boolean[,]bool 值的二维数组,指定单元是否与对象接触。
contained
Type: System.Boolean[,]bool 值的二维数组,指定单元是否包含对象。
cCellsTouched
Type: System.Int32在此方法返回时,包含对象接触的单元的数目。
cCellsContained
Type: System.Int32在此方法返回时,包含对象包含的单元的数目。
fGeometryExceedsGrid
Type: System.Boolean在此方法返回时,将包含一个值,该值指示对象是否超出了网格。
fHasAmbiguousTouchedCells
Type: System.Boolean在此方法返回时,将包含一个值,该值指示对象是否包含不明确接触的单元。
另请参阅
ISqlSpatialGridIndexable 接口
Microsoft.SqlServer.Types 命名空间
返回页首