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

 

返回 SQL 几何图形的网格覆盖。

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

语法

void ISqlSpatialGridIndexable.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
)
private:
virtual 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
) sealed = ISqlSpatialGridIndexable::GetGridCoverage
private 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
private override 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
Private 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
)
    Implements ISqlSpatialGridIndexable.GetGridCoverage

参数

  • isTopmostGrid
    Type: System.Boolean

    如果指定的对象位于最顶部的网格中,则为 True;否则为 false

  • touched
    Type: System.Boolean[,]

    如果接触指定对象,则为 True;否则为 false

  • contained
    Type: System.Boolean[,]

    如果包含指定网格,则为 True;否则为 false

  • cCellsTouched
    Type: System.Int32

    如果接触网格的单元,则为 True;否则为 false

  • cCellsContained
    Type: System.Int32

    如果包含网格 ID 的指定单元,则为 True;否则为 false

  • fGeometryExceedsGrid
    Type: System.Boolean

    如果几何图形超过了网格,则为 True;否则为 false

  • fHasAmbiguousTouchedCells
    Type: System.Boolean

    如果网格具有不明确接触的单元,则为 True;否则为 false

实现

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

另请参阅

SqlGeometry 类
Microsoft.SqlServer.Types 命名空间

返回页首