この 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, _
cardinality As Integer, _
maxDepth As Integer, _
options As Integer, _
distanceBuffer As SqlDouble _
) As IEnumerable
'使用
Dim geometry As SqlGeometry
Dim rootX As Double
Dim rootY As Double
Dim maxX As Double
Dim maxY As Double
Dim cardinality As Integer
Dim maxDepth As Integer
Dim options As Integer
Dim distanceBuffer As SqlDouble
Dim returnValue As IEnumerable
returnValue = SpatialTessellationFunction.Planar(geometry, _
rootX, rootY, maxX, maxY, cardinality, _
maxDepth, options, distanceBuffer)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Planar(
SqlGeometry geometry,
double rootX,
double rootY,
double maxX,
double maxY,
int cardinality,
int maxDepth,
int options,
SqlDouble distanceBuffer
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ Planar(
SqlGeometry^ geometry,
double rootX,
double rootY,
double maxX,
double maxY,
int cardinality,
int maxDepth,
int options,
SqlDouble distanceBuffer
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member Planar :
geometry:SqlGeometry *
rootX:float *
rootY:float *
maxX:float *
maxY:float *
cardinality:int *
maxDepth:int *
options:int *
distanceBuffer:SqlDouble -> IEnumerable
public static function Planar(
geometry : SqlGeometry,
rootX : double,
rootY : double,
maxX : double,
maxY : double,
cardinality : int,
maxDepth : int,
options : int,
distanceBuffer : SqlDouble
) : IEnumerable
パラメーター
- geometry
型: Microsoft.SqlServer.Types.SqlGeometry
geometry オブジェクトです。
- rootX
型: System.Double
境界ボックスの左下隅の x 座標です。
- rootY
型: System.Double
境界ボックスの左下隅の y 座標です。
- maxX
型: System.Double
境界ボックスの右上隅の x 座標です。
- maxY
型: System.Double
境界ボックスの右上隅の y 座標です。
- cardinality
型: System.Int32
テセレーション出力内の最大セル数を表す数字です。
- maxDepth
型: System.Int32
最大の深さです。
- options
型: System.Int32
間隔モード、カバレッジ生成、およびあいまいな使用のビットごとのオプションを含む値です。
- distanceBuffer
型: System.Data.SqlTypes.SqlDouble
距離のバッファーです。
戻り値
型: System.Collections.IEnumerable
指定された SqlGeometry インスタンスのグリッド セルを表す IEnumerable オブジェクトです。