SqlGeography::ISqlSpatialGridIndexable::GetGridCoverage Method (Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, array<Boolean, 2>^, array<Boolean, 2>^, Int32%, Int32%, Boolean%, Boolean%)

 

Returns the grid coverage of the SQL Geography.

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

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

Parameters

isTopmostGrid
Type: System::Boolean

True if the specified object is in topmost grid; otherwise, false.

rGridMinX
Type: System::Double

The minimum value of X of the grid.

rGridMinY
Type: System::Double

The minimum value of Y of the grid.

rGridWidth
Type: System::Double

The grid width.

rGridHeight
Type: System::Double

The grid height.

rFuzzX
Type: System::Double

The fuzzy value of X.

rFuzzY
Type: System::Double

The Fuzzy value of Y.

cGridRows
Type: System::Int32

The grid rows.

cGridColumns
Type: System::Int32

The grid columns.

touched
Type: array<System::Boolean, 2>^

True if the specified object is touched; otherwise, false.

contained
Type: array<System::Boolean, 2>^

True if the specified grid is contained; otherwise, false.

cCellsTouched
Type: System::Int32%

True if the cells of the grid is touched; otherwise, false.

cCellsContained
Type: System::Int32%

True if the specified cells of the grid id contained; otherwise, false.

fGeometryExceedsGrid
Type: System::Boolean%

True if the geometry exceeds the grid; otherwise, false.

fHasAmbiguousTouchedCells
Type: System::Boolean%

True if the grid has ambiguous touched cells; otherwise, false.

Return to top
Show: