GeometryOperationExtensions Class

Definition

Operations supported on Geometry type in the Azure DocumentDB database service. These operations are to be used in LINQ expressions only and will be evaluated on server. There's no implementation provided in the client library.

public static class GeometryOperationExtensions
Inheritance
GeometryOperationExtensions

Methods

Distance(Geometry, Geometry)

Distance in meters between two geometries in the Azure DocumentDB database service.

Intersects(Geometry, Geometry)

Checks if geometry1 intersects with geometry2.

IsValid(Geometry)

Determines if the geometry specified is valid and can be indexed or used in queries by Azure DocumentDB database service.

If a geometry is not valid, it will not be indexed. Also during query time invalid geometries are equivalent to undefined.

IsValidDetailed(Geometry)

Determines if the geometry specified is valid and can be indexed or used in queries by Azure DocumentDB database service.

If a geometry is not valid, it will not be indexed. Also during query time invalid geometries are equivalent to undefined.

Within(Geometry, Geometry)

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

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)