SqlGeometry.ISqlSpatialGridIndexable.GetGridCoverage 메서드
Returns the grid coverage of the SQL Geometry.
네임스페이스: Microsoft.SqlServer.Types
어셈블리: Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)
구문
‘선언
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
‘사용 방법
Dim instance As SqlGeometry
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
CType(instance, ISqlSpatialGridIndexable).GetGridCoverage(isTopmostGrid, _
rGridMinX, rGridMinY, rGridWidth, _
rGridHeight, rFuzzX, rFuzzY, cGridRows, _
cGridColumns, touched, contained, _
cCellsTouched, cCellsContained, _
fGeometryExceedsGrid, fHasAmbiguousTouchedCells)
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
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- isTopmostGrid
유형: System.Boolean
True if the specified object is in topmost grid; otherwise, false.
- rGridMinX
유형: System.Double
The minimum value of X of the grid.
- rGridMinY
유형: System.Double
The minimum value of Y of the grid.
- rGridWidth
유형: System.Double
The grid width.
- rGridHeight
유형: System.Double
The grid height.
- rFuzzX
유형: System.Double
The fuzzy value of X.
- rFuzzY
유형: System.Double
The Fuzzy value of Y.
- cGridRows
유형: System.Int32
The grid rows.
- cGridColumns
유형: System.Int32
The grid columns.
- touched
유형: array<System.Boolean[,]
True if the specified object is touched; otherwise, false.
- contained
유형: array<System.Boolean[,]
True if the specified grid is contained; otherwise, false.
- cCellsTouched
유형: System.Int32%
True if the cells of the grid is touched; otherwise, false.
- cCellsContained
유형: System.Int32%
True if the specified cells of the grid id contained; otherwise, false.
- fGeometryExceedsGrid
유형: System.Boolean%
True if the geometry exceeds the grid; otherwise, false.
- fHasAmbiguousTouchedCells
유형: System.Boolean%
True if the grid has ambiguous touched cells; otherwise, false.