Export (0) Print
Expand All
Expand Minimize

SqlGeography.ISqlSpatialGridIndexable.GetGridCoverage Method

Returns the grid coverage of the SQL Geography.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

'Declaration
<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
'Usage
Dim instance As SqlGeography 
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)

Parameters

isTopmostGrid
Type: Boolean
True if the specified object is in topmost grid; otherwise, false.
rGridMinX
Type: Double
The minimum value of X of the grid.
rGridMinY
Type: Double
The minimum value of Y of the grid.
rGridWidth
Type: Double
The grid width.
rGridHeight
Type: Double
The grid height.
rFuzzX
Type: Double
The fuzzy value of X.
rFuzzY
Type: Double
The Fuzzy value of Y.
cGridRows
Type: Int32
The grid rows.
cGridColumns
Type: Int32
The grid columns.
touched
Type: Boolean(,)
True if the specified object is touched; otherwise, false.
contained
Type: Boolean(,)
True if the specified grid is contained; otherwise, false.
cCellsTouched
Type: Int32
True if the cells of the grid is touched; otherwise, false.
cCellsContained
Type: Int32
True if the specified cells of the grid id contained; otherwise, false.
fGeometryExceedsGrid
Type: Boolean
True if the geometry exceeds the grid; otherwise, false.
fHasAmbiguousTouchedCells
Type: Boolean
True if the grid has ambiguous touched cells; otherwise, false.

Implements

ISqlSpatialGridIndexable.GetGridCoverage(Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, Boolean(,), Boolean(,), Int32, Int32, Boolean, Boolean)

Community Additions

ADD
Show:
© 2014 Microsoft