Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
Constructs the tessellation properties for the specified geometry object with specified settings.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<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
'Usage
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
Parameter
- geometryObject
Typ: Microsoft.SqlServer.Types.SqlGeometry
The geometry object.
- rootX
Typ: System.Double
The root of grid X.
- rootY
Typ: System.Double
The root of grid Y.
- maxX
Typ: System.Double
The maximum grid X.
- maxY
Typ: System.Double
The maximum grid Y.
- densityGrid0
Typ: System.Int32
The density for first grid level.
- densityGrid1
Typ: System.Int32
The density for second grid level.
- densityGrid2
Typ: System.Int32
The density for third grid level.
- densityGrid3
Typ: System.Int32
The density for fourth grid level.
- cardinality
Typ: System.Int32
The number that represents the maximum cells in tessellation output.
- tessellationMode
Typ: System.Int32
The tessellation mode.
- distanceBuffer
Typ: System.Data.SqlTypes.SqlDouble
The distance buffer.
Rückgabewert
Typ: System.Collections.IEnumerable
The IEnumerable object that represents the collection of tessellation properties of the specified geometry object.