Geometry Class
Updated: June 30, 2017
Base class for spatial geometry objects in the Azure DocumentDB database service.
Assembly: Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)
Microsoft.Azure.Documents.SpatialGeometry
Microsoft.Azure.Documents.SpatialLineString
Microsoft.Azure.Documents.SpatialPoint
Microsoft.Azure.Documents.SpatialPolygon
| Name | Description | |
|---|---|---|
![]() | Geometry | Initializes a new instance of the Geometry class in the Azure DocumentDB database service. |
| Name | Description | |
|---|---|---|
![]() | Equals | Determines whether the specified Geometry is equal to the current Geometry in the Azure DocumentDB database service. (Overrides ObjectEquals.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for the Geometry type in the Azure DocumentDB database service. (Overrides ObjectGetHashCode.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Distance | Distance in meters between two geometries in the Azure DocumentDB database service. (Defined by GeometryOperationExtensions.) |
![]() | Intersects | Checks if geometry1 intersects with geometry2. (Defined by GeometryOperationExtensions.) |
![]() | IsDefined | Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsNull | Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsPrimitive | Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.) |
![]() | IsValid | 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. (Defined by GeometryOperationExtensions.) |
![]() | IsValidDetailed | 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. (Defined by GeometryOperationExtensions.) |
![]() | Within | Determines if innerGeometry is fully contained inside outerGeometry in the Azure DocumentDB database service. (Defined by GeometryOperationExtensions.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


