Geometry.Intersects(Geometry) メソッド

定義

現在の geometry1 が geometry2 と交差しているかどうかを確認します。

public bool Intersects (Microsoft.Azure.Cosmos.Spatial.Geometry geometry2);
member this.Intersects : Microsoft.Azure.Cosmos.Spatial.Geometry -> bool
Public Function Intersects (geometry2 As Geometry) As Boolean

パラメーター

geometry2
Geometry

2 番目の Geometry

戻り値

geometry1 が geometry2 と交差する場合は true を返し、それ以外の場合は false を返します。

var distanceQuery = documents.Where(document => document.Location.Intersects(new Point(20.1, 20)));

適用対象