この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
指定した設定で指定した geometry オブジェクトのテセレーション プロパティを構築します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlFunctionAttribute(FillRowMethodName := "FillRow")> _
Public Shared Function InitMethod ( _
geometryObject As SqlGeometry, _
rootX As Double, _
rootY As Double, _
maxX As Double, _
maxY As Double, _
densityGrid0 As Integer, _
densityGrid1 As Integer, _
densityGrid2 As Integer, _
densityGrid3 As Integer, _
cardinality As Integer, _
tessellationMode As Integer, _
distanceBuffer As SqlDouble _
) As IEnumerable
'使用
Dim geometryObject As SqlGeometry
Dim rootX As Double
Dim rootY As Double
Dim maxX As Double
Dim maxY As Double
Dim densityGrid0 As Integer
Dim densityGrid1 As Integer
Dim densityGrid2 As Integer
Dim densityGrid3 As Integer
Dim cardinality As Integer
Dim tessellationMode As Integer
Dim distanceBuffer As SqlDouble
Dim returnValue As IEnumerable
returnValue = GeometryTessellationFunction.InitMethod(geometryObject, _
rootX, rootY, maxX, maxY, densityGrid0, _
densityGrid1, densityGrid2, densityGrid3, _
cardinality, tessellationMode, distanceBuffer)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable InitMethod(
SqlGeometry geometryObject,
double rootX,
double rootY,
double maxX,
double maxY,
int densityGrid0,
int densityGrid1,
int densityGrid2,
int densityGrid3,
int cardinality,
int tessellationMode,
SqlDouble distanceBuffer
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ InitMethod(
SqlGeometry^ geometryObject,
double rootX,
double rootY,
double maxX,
double maxY,
int densityGrid0,
int densityGrid1,
int densityGrid2,
int densityGrid3,
int cardinality,
int tessellationMode,
SqlDouble distanceBuffer
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member InitMethod :
geometryObject:SqlGeometry *
rootX:float *
rootY:float *
maxX:float *
maxY:float *
densityGrid0:int *
densityGrid1:int *
densityGrid2:int *
densityGrid3:int *
cardinality:int *
tessellationMode:int *
distanceBuffer:SqlDouble -> IEnumerable
public static function InitMethod(
geometryObject : SqlGeometry,
rootX : double,
rootY : double,
maxX : double,
maxY : double,
densityGrid0 : int,
densityGrid1 : int,
densityGrid2 : int,
densityGrid3 : int,
cardinality : int,
tessellationMode : int,
distanceBuffer : SqlDouble
) : IEnumerable
パラメーター
- geometryObject
型: Microsoft.SqlServer.Types.SqlGeometry
geometry オブジェクトです。
- rootX
型: System.Double
グリッド X のルートです。
- rootY
型: System.Double
グリッド Y のルートです。
- maxX
型: System.Double
最大グリッド X です。
- maxY
型: System.Double
最大グリッド Y です。
- densityGrid0
型: System.Int32
第 1 グリッド レベルの密度です。
- densityGrid1
型: System.Int32
第 2 グリッド レベルの密度です。
- densityGrid2
型: System.Int32
第 3 グリッド レベルの密度です。
- densityGrid3
型: System.Int32
第 4 グリッド レベルの密度です。
- cardinality
型: System.Int32
テセレーション出力内の最大セル数を表す数字です。
- tessellationMode
型: System.Int32
テセレーション モードです。
- distanceBuffer
型: System.Data.SqlTypes.SqlDouble
距離のバッファーです。
戻り値
型: System.Collections.IEnumerable
指定した geometry オブジェクトのテセレーション プロパティのコレクションを表す IEnumerable オブジェクトです。