Share via


GeometryTessellationFunction.InitMethod Method

Definition

Constructs the tessellation properties for the specified geometry object with specified settings.

[Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")]
public static System.Collections.IEnumerable InitMethod (Microsoft.SqlServer.Types.SqlGeometry geometryObject, double rootX, double rootY, double maxX, double maxY, int densityGrid0, int densityGrid1, int densityGrid2, int densityGrid3, int cardinality, int tessellationMode, System.Data.SqlTypes.SqlDouble distanceBuffer);
[<Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")>]
static member InitMethod : Microsoft.SqlServer.Types.SqlGeometry * double * double * double * double * int * int * int * int * int * int * System.Data.SqlTypes.SqlDouble -> System.Collections.IEnumerable
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

Parameters

geometryObject
SqlGeometry

The geometry object.

rootX
Double

The root of grid X.

rootY
Double

The root of grid Y.

maxX
Double

The maximum grid X.

maxY
Double

The maximum grid Y.

densityGrid0
Int32

The density for first grid level.

densityGrid1
Int32

The density for second grid level.

densityGrid2
Int32

The density for third grid level.

densityGrid3
Int32

The density for fourth grid level.

cardinality
Int32

The number that represents the maximum cells in tessellation output.

tessellationMode
Int32

The tessellation mode.

distanceBuffer
SqlDouble

The distance buffer.

Returns

The IEnumerable object that represents the collection of tessellation properties of the specified geometry object.

Attributes

Applies to