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)

[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
)

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)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft