SpatialTessellationFunction.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 cardinality, int maxDepth, int options, System.Data.SqlTypes.SqlDouble distanceBuffer);
[<Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")>]
static member Planar : Microsoft.SqlServer.Types.SqlGeometry * double * double * double * double * int * int * int * System.Data.SqlTypes.SqlDouble -> System.Collections.IEnumerable
Public Shared Function Planar (geometry As SqlGeometry, rootX As Double, rootY As Double, maxX As Double, maxY As Double, cardinality As Integer, maxDepth As Integer, options As Integer, distanceBuffer As SqlDouble) As IEnumerable

Parameters

geometry
SqlGeometry

The geometry object.

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.

cardinality
Int32

The number that represents the maximum cells in tessellation output.

maxDepth
Int32

The maximum depth.

options
Int32

The value that contains bitwise options for interval mode, coverage generation, and fuzz usage.

distanceBuffer
SqlDouble

The distance buffer.

Returns

The IEnumerable object that represents the grid cell for the given SqlGeometry instance.

Attributes

Applies to