GeometryOperationExtensions.Intersects Method

Definition

Checks if geometry1 intersects with geometry2.

public static bool Intersects (this Microsoft.Azure.Documents.Spatial.Geometry geometry1, Microsoft.Azure.Documents.Spatial.Geometry geometry2);
Parameters
geometry1
Geometry

First Geometry.

geometry2
Geometry

Second Geometry.

Returns

Returns true if geometry1 intersects with geometry2, otherwise returns false.