ISqlSpatialGridIndexable.GetGridCoverage 方法 (Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, Boolean[,], Boolean , Int32, Int32, Boolean, Boolean)

 

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

获取网格覆盖。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
void GetGridCoverage(
    bool isTopmostGrid,
    double rGridMinX,
    double rGridMinY,
    double rGridWidth,
    double rGridHeight,
    double rFuzzX,
    double rFuzzY,
    int cGridRows,
    int cGridColumns,
    bool[,] touched,
    bool[,] contained,
    out int cCellsTouched,
    out int cCellsContained,
    out bool fGeometryExceedsGrid,
    out bool fHasAmbiguousTouchedCells
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
void GetGridCoverage(
    bool isTopmostGrid,
    double rGridMinX,
    double rGridMinY,
    double rGridWidth,
    double rGridHeight,
    double rFuzzX,
    double rFuzzY,
    int cGridRows,
    int cGridColumns,
    array<bool, 2>^ touched,
    array<bool, 2>^ contained,
    [OutAttribute] int% cCellsTouched,
    [OutAttribute] int% cCellsContained,
    [OutAttribute] bool% fGeometryExceedsGrid,
    [OutAttribute] bool% fHasAmbiguousTouchedCells
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
abstract GetGridCoverage : 
        isTopmostGrid:bool *
        rGridMinX:float *
        rGridMinY:float *
        rGridWidth:float *
        rGridHeight:float *
        rFuzzX:float *
        rFuzzY:float *
        cGridRows:int *
        cGridColumns:int *
        touched:bool[,] *
        contained:bool[,] *
        cCellsTouched:int byref *
        cCellsContained:int byref *
        fGeometryExceedsGrid:bool byref *
        fHasAmbiguousTouchedCells:bool byref -> unit
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Sub GetGridCoverage (
    isTopmostGrid As Boolean,
    rGridMinX As Double,
    rGridMinY As Double,
    rGridWidth As Double,
    rGridHeight As Double,
    rFuzzX As Double,
    rFuzzY As Double,
    cGridRows As Integer,
    cGridColumns As Integer,
    touched As Boolean(,),
    contained As Boolean(,),
    <OutAttribute> ByRef cCellsTouched As Integer,
    <OutAttribute> ByRef cCellsContained As Integer,
    <OutAttribute> ByRef fGeometryExceedsGrid As Boolean,
    <OutAttribute> ByRef fHasAmbiguousTouchedCells As Boolean
)

参数

  • isTopmostGrid
    Type: System.Boolean

    指示网格是否为顶级(级别 1)网格。

  • touched
    Type: System.Boolean[,]

    bool 值的二维数组,指定单元是否与对象接触。

  • contained
    Type: System.Boolean[,]

    bool 值的二维数组,指定单元是否包含对象。

  • cCellsTouched
    Type: System.Int32

    在此方法返回时,包含对象接触的单元的数目。

  • cCellsContained
    Type: System.Int32

    在此方法返回时,包含对象包含的单元的数目。

  • fGeometryExceedsGrid
    Type: System.Boolean

    在此方法返回时,将包含一个值,该值指示对象是否超出了网格。

  • fHasAmbiguousTouchedCells
    Type: System.Boolean

    在此方法返回时,将包含一个值,该值指示对象是否包含不明确接触的单元。

另请参阅

ISqlSpatialGridIndexable 接口
Microsoft.SqlServer.Types 命名空间

返回页首