语言

SpatialGridCoverage.Planar 方法

定义

返回给定 SqlGeometry 实例的网格单元格。

[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

参数

geometry
SqlGeometry

SqlGeometry 实例。

rootX
Double

边界框左下角的 x 坐标。

rootY
Double

边界框左下角的 y 坐标。

maxX
Double

边界框右上角的 x 坐标。

maxY
Double

边界框右上角的 y 坐标。

rows
Int32

网格中的行数。

columns
Int32

网格中的列数。

返回

表示 IEnumerable 实例的 SqlGeometry 网格单元格的对象。

属性

适用于