ISqlSpatialGridIndexable.GetGridCoverage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the grid coverage.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public 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);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
abstract member GetGridCoverage : bool * double * double * double * double * double * double * int * int * bool[,] * bool[,] * int * int * bool * bool -> unit
Public 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(,), ByRef cCellsTouched As Integer, ByRef cCellsContained As Integer, ByRef fGeometryExceedsGrid As Boolean, ByRef fHasAmbiguousTouchedCells As Boolean)
Parameters
- isTopmostGrid
- Boolean
Indicates whether the grid is a top level (level 1) grid.
- rGridMinX
- Double
The x-coordinate of the lower-left corner of the grid.
- rGridMinY
- Double
The y-coordinate of the lower-left corner of the grid.
- rGridWidth
- Double
The width of the grid.
- rGridHeight
- Double
The height of the grid.
- rFuzzX
- Double
The x-coordinate tolerance value.
- rFuzzY
- Double
The y-coordinate tolerance value.
- cGridRows
- Int32
The number of rows in the grid.
- cGridColumns
- Int32
The number of columns in the grid.
- touched
- Boolean[,]
A two-dimensional array of bool values that specifies whether the cells touched the object.
- contained
- Boolean[,]
A two-dimensional array of bool values that specifies whether the cells contained the object.
- cCellsTouched
- Int32
When this method returns, contains the number of cells that the object touches.
- cCellsContained
- Int32
When this method returns, contains the number of cells that the object contains.
- fGeometryExceedsGrid
- Boolean
When this method returns, contains a value that indicates whether the object exceeds the grid.
- fHasAmbiguousTouchedCells
- Boolean
When this method returns, contains a value that indicates whether the object includes ambiguously touched cells.
- Attributes