GeometryTessellationFunction.InitMethod 方法 (SqlGeometry, Double, Double, Double, Double, Int32, Int32, Int32, Int32, Int32, Int32, SqlDouble)

 

此 API 支持 产品 基础结构,不应从代码直接使用。

使用指定的设置构建指定几何图形对象的分割方案属性。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 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
)
public:
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
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
<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

参数

  • densityGrid0
    Type: System.Int32

    第一个网格级别的密度。

  • densityGrid1
    Type: System.Int32

    第二个网格级别的密度。

  • densityGrid2
    Type: System.Int32

    第三个网格级别的密度。

  • densityGrid3
    Type: System.Int32

    第四个网格级别的密度。

  • cardinality
    Type: System.Int32

    表示分割方案输出中最大单元数的数字。

返回值

Type: System.Collections.IEnumerable

表示指定几何图形对象的分割方案属性集合的 IEnumerable 对象。

另请参阅

GeometryTessellationFunction 类
Microsoft.SqlServer.Types 命名空间

返回页首