GeometryOperationExtensions.Within Method

Definition

Determines if innerGeometry is fully contained inside outerGeometry in the Azure DocumentDB database service.

public static bool Within (this Microsoft.Azure.Documents.Spatial.Geometry inner, Microsoft.Azure.Documents.Spatial.Geometry outer);
Parameters
inner
Geometry

Inner Geometry.

outer
Geometry

Outer Geometry.

Returns

true if innerGeometry is fully contained inside outerGeometry. false otherwise.

Remarks

Currently this function supports inner geometry of type Point and outer geometry of type Polygon.