TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

SqlGeography.ISqlSpatialGridIndexable.GetGridCoverage Method (Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, Boolean[,], Boolean[,], 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)

[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: 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: System.Boolean[,]

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

contained
Type: System.Boolean[,]

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:
© 2016 Microsoft