SqlGeography.ISqlSpatialGridIndexable.GetGridCoverage Method (Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, Boolean[,], Boolean , Int32, Int32, Boolean, Boolean)
Applies To: SQL Server 2016 Preview
Returns the grid coverage of the SQL Geography.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
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:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
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
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
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
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
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
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
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
Parameters
isTopmostGrid
Type: System.BooleanTrue if the specified object is in topmost grid; otherwise, false.
rGridMinX
Type: System.DoubleThe minimum value of X of the grid.
rGridMinY
Type: System.DoubleThe minimum value of Y of the grid.
rGridWidth
Type: System.DoubleThe grid width.
rGridHeight
Type: System.DoubleThe grid height.
rFuzzX
Type: System.DoubleThe fuzzy value of X.
rFuzzY
Type: System.DoubleThe Fuzzy value of Y.
cGridRows
Type: System.Int32The grid rows.
cGridColumns
Type: System.Int32The grid columns.
touched
Type: System.Boolean[,]True if the specified object is touched; otherwise, false.
contained
Type: System.Boolean[,]True if the specified grid is contained; otherwise, false.
cCellsTouched
Type: System.Int32True if the cells of the grid is touched; otherwise, false.
cCellsContained
Type: System.Int32True if the specified cells of the grid id contained; otherwise, false.
fGeometryExceedsGrid
Type: System.BooleanTrue if the geometry exceeds the grid; otherwise, false.
fHasAmbiguousTouchedCells
Type: System.BooleanTrue if the grid has ambiguous touched cells; otherwise, false.
Implements
See Also
SqlGeography Class
Microsoft.SqlServer.Types Namespace
Return to top