SqlGeometry.ISqlSpatialGridIndexable.GetGridCoverage 方法 (Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, Boolean[,], Boolean , Int32, Int32, Boolean, Boolean)
返回 SQL 几何图形的网格覆盖。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
void ISqlSpatialGridIndexable.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
)
private:
virtual 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
) sealed = ISqlSpatialGridIndexable::GetGridCoverage
private 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
private override 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
Private 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
)
Implements ISqlSpatialGridIndexable.GetGridCoverage
参数
isTopmostGrid
Type: System.Boolean如果指定的对象位于最顶部的网格中,则为 True;否则为 false。
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[,]如果接触指定对象,则为 True;否则为 false。
contained
Type: System.Boolean[,]如果包含指定网格,则为 True;否则为 false。
cCellsTouched
Type: System.Int32如果接触网格的单元,则为 True;否则为 false。
cCellsContained
Type: System.Int32如果包含网格 ID 的指定单元,则为 True;否则为 false。
fGeometryExceedsGrid
Type: System.Boolean如果几何图形超过了网格,则为 True;否则为 false。
fHasAmbiguousTouchedCells
Type: System.Boolean如果网格具有不明确接触的单元,则为 True;否则为 false。
实现
另请参阅
SqlGeometry 类
Microsoft.SqlServer.Types 命名空间
返回页首