SpatialGridCoverage.Planar Method

Definition

Returns the grid cell for the given SqlGeometry instance.

[Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")]
public static System.Collections.IEnumerable Planar (Microsoft.SqlServer.Types.SqlGeometry geometry, double rootX, double rootY, double maxX, double maxY, int rows, int columns);
[<Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")>]
static member Planar : Microsoft.SqlServer.Types.SqlGeometry * double * double * double * double * int * int -> System.Collections.IEnumerable
Public Shared Function Planar (geometry As SqlGeometry, rootX As Double, rootY As Double, maxX As Double, maxY As Double, rows As Integer, columns As Integer) As IEnumerable

Parameters

geometry
SqlGeometry

The SqlGeometry instance.

rootX
Double

The x-coordinate of the lower-left corner of the bounding box.

rootY
Double

The y-coordinate of the lower-left corner of the bounding box.

maxX
Double

The x-coordinate of the upper-right corner of the bounding box.

maxY
Double

The y-coordinate of the upper-right corner of the bounding box.

rows
Int32

The number of rows in the grid.

columns
Int32

The number of columns in the grid.

Returns

The IEnumerable object that represents the grid cell of the SqlGeometry instance.

Attributes

Applies to