この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
指定した SqlGeometry インスタンスのグリッド セルを返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlFunctionAttribute(FillRowMethodName := "FillRow")> _
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
'使用
Dim geometry As SqlGeometry
Dim rootX As Double
Dim rootY As Double
Dim maxX As Double
Dim maxY As Double
Dim rows As Integer
Dim columns As Integer
Dim returnValue As IEnumerable
returnValue = SpatialGridCoverage.Planar(geometry, _
rootX, rootY, maxX, maxY, rows, columns)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Planar(
SqlGeometry geometry,
double rootX,
double rootY,
double maxX,
double maxY,
int rows,
int columns
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ Planar(
SqlGeometry^ geometry,
double rootX,
double rootY,
double maxX,
double maxY,
int rows,
int columns
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member Planar :
geometry:SqlGeometry *
rootX:float *
rootY:float *
maxX:float *
maxY:float *
rows:int *
columns:int -> IEnumerable
public static function Planar(
geometry : SqlGeometry,
rootX : double,
rootY : double,
maxX : double,
maxY : double,
rows : int,
columns : int
) : IEnumerable
パラメーター
- geometry
型: Microsoft.SqlServer.Types.SqlGeometry
SqlGeometry のインスタンスです。
- rootX
型: System.Double
境界ボックスの左下隅の x 座標です。
- rootY
型: System.Double
境界ボックスの左下隅の y 座標です。
- maxX
型: System.Double
境界ボックスの右上隅の x 座標です。
- maxY
型: System.Double
境界ボックスの右上隅の Y 座標です。
- rows
型: System.Int32
グリッド内の行数です。
- columns
型: System.Int32
グリッド内の列数です。
戻り値
型: System.Collections.IEnumerable
SqlGeometry インスタンスのグリッド セルを表す IEnumerable オブジェクトです。