Export (0) Print
Expand All

GeometryTessellationFunction.InitMethod Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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)

[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
)

Parameters

geometryObject
Type: Microsoft.SqlServer.Types.SqlGeometry
The geometry object.
rootX
Type: Double
The root of grid X.
rootY
Type: Double
The root of grid Y.
maxX
Type: Double
The maximum grid X.
maxY
Type: Double
The maximum grid Y.
densityGrid0
Type: Int32
The density for first grid level.
densityGrid1
Type: Int32
The density for second grid level.
densityGrid2
Type: Int32
The density for third grid level.
densityGrid3
Type: Int32
The density for fourth grid level.
cardinality
Type: Int32
The number that represents the maximum cells in tessellation output.
tessellationMode
Type: Int32
The tessellation mode.
distanceBuffer
Type: SqlDouble
The distance buffer.

Return Value

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

Community Additions

ADD
Show:
© 2015 Microsoft