ISqlSpatialGridIndexable.GetGridCoverage Method (Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, Boolean[,], Boolean[,], Int32, Int32, Boolean, Boolean)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the grid coverage.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
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
)

Parameters

isTopmostGrid
Type: System.Boolean

Indicates whether the grid is a top level (level 1) grid.

rGridMinX
Type: System.Double

The x-coordinate of the lower-left corner of the grid.

rGridMinY
Type: System.Double

The y-coordinate of the lower-left corner of the grid.

rGridWidth
Type: System.Double

The width of the grid.

rGridHeight
Type: System.Double

The height of the grid.

rFuzzX
Type: System.Double

The x-coordinate tolerance value.

rFuzzY
Type: System.Double

The y-coordinate tolerance value.

cGridRows
Type: System.Int32

The number of rows in the grid.

cGridColumns
Type: System.Int32

The number of columns in the grid.

touched
Type: System.Boolean[,]

A two-dimensional array of bool values that specifies whether the cells touched the object.

contained
Type: System.Boolean[,]

A two-dimensional array of bool values that specifies whether the cells contained the object.

cCellsTouched
Type: System.Int32

When this method returns, contains the number of cells that the object touches.

cCellsContained
Type: System.Int32

When this method returns, contains the number of cells that the object contains.

fGeometryExceedsGrid
Type: System.Boolean

When this method returns, contains a value that indicates whether the object exceeds the grid.

fHasAmbiguousTouchedCells
Type: System.Boolean

When this method returns, contains a value that indicates whether the object includes ambiguously touched cells.

Return to top
Show: