ISqlSpatialGridIndexable.GetGridCoverage 메서드
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Gets the grid coverage.
네임스페이스: 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
Indicates whether the grid is a top level (level 1) grid.
- rGridMinX
유형: System.Double
The x-coordinate of the lower-left corner of the grid.
- rGridMinY
유형: System.Double
The y-coordinate of the lower-left corner of the grid.
- rGridWidth
유형: System.Double
The width of the grid.
- rGridHeight
유형: System.Double
The height of the grid.
- rFuzzX
유형: System.Double
The x-coordinate tolerance value.
- rFuzzY
유형: System.Double
The y-coordinate tolerance value.
- cGridRows
유형: System.Int32
The number of rows in the grid.
- cGridColumns
유형: System.Int32
The number of columns in the grid.
- touched
유형: array<System.Boolean[,]
A two-dimensional array of bool values that specifies whether the cells touched the object.
- contained
유형: array<System.Boolean[,]
A two-dimensional array of bool values that specifies whether the cells contained the object.
- cCellsTouched
유형: System.Int32%
When this method returns, contains the number of cells that the object touches.
- cCellsContained
유형: System.Int32%
When this method returns, contains the number of cells that the object contains.
- fGeometryExceedsGrid
유형: System.Boolean%
When this method returns, contains a value that indicates whether the object exceeds the grid.
- fHasAmbiguousTouchedCells
유형: System.Boolean%
When this method returns, contains a value that indicates whether the object includes ambiguously touched cells.