次の方法で共有


SqlGeography.ISqlSpatialGridIndexable.GetGridCoverage メソッド

SQL Geography のグリッド カバレッジを返します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
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
'使用
Dim instance As SqlGeography 
Dim isTopmostGrid As Boolean 
Dim rGridMinX As Double 
Dim rGridMinY As Double 
Dim rGridWidth As Double 
Dim rGridHeight As Double 
Dim rFuzzX As Double 
Dim rFuzzY As Double 
Dim cGridRows As Integer 
Dim cGridColumns As Integer 
Dim touched As Boolean(,)
Dim contained As Boolean(,)
Dim cCellsTouched As Integer 
Dim cCellsContained As Integer 
Dim fGeometryExceedsGrid As Boolean 
Dim fHasAmbiguousTouchedCells As Boolean 

CType(instance, ISqlSpatialGridIndexable).GetGridCoverage(isTopmostGrid, _
    rGridMinX, rGridMinY, rGridWidth, _
    rGridHeight, rFuzzX, rFuzzY, cGridRows, _
    cGridColumns, touched, contained, _
    cCellsTouched, cCellsContained, _
    fGeometryExceedsGrid, fHasAmbiguousTouchedCells)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
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
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
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
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
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 
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
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
JScript は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

  • isTopmostGrid
    型: System.Boolean
    指定したオブジェクトが最上位グリッドにある場合は True、それ以外の場合は false です。
  • rGridMinX
    型: System.Double
    グリッドの X の最小値です。
  • rGridMinY
    型: System.Double
    グリッドの Y の最小値です。
  • touched
    型: array<System.Boolean[,]
    指定したオブジェクトが接している場合は True、それ以外の場合は false です。
  • contained
    型: array<System.Boolean[,]
    指定したグリッドが含まれている場合は True、それ以外の場合は false です。
  • cCellsTouched
    型: System.Int32%
    グリッドのセルが接している場合は True、それ以外の場合は false です。
  • cCellsContained
    型: System.Int32%
    指定したグリッド ID のセルが含まれている場合は True、それ以外の場合は false です。
  • fGeometryExceedsGrid
    型: System.Boolean%
    ジオメトリがグリッドを超えている場合は True、それ以外の場合は false です。
  • fHasAmbiguousTouchedCells
    型: System.Boolean%
    グリッドにあいまいに接しているセルがある場合は True、それ以外の場合は false です。

実装

ISqlSpatialGridIndexable.GetGridCoverage(Boolean, Double, Double, Double, Double, Double, Double, Int32, Int32, array<Boolean[,], array<Boolean[,], Int32%, Int32%, Boolean%, Boolean%)

関連項目

参照

SqlGeography クラス

Microsoft.SqlServer.Types 名前空間