Geometry Class

Definition

Base class for spatial geometry objects in the Azure DocumentDB database service.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Documents.Spatial.Converters.GeometryJsonConverter))]
[Newtonsoft.Json.JsonObject(Newtonsoft.Json.MemberSerialization.OptIn)]
public abstract class Geometry
Inheritance
Geometry
Derived
Attributes
Newtonsoft.Json.JsonConverterAttribute Newtonsoft.Json.JsonObjectAttribute

Constructors

Geometry(GeometryType, GeometryParams)

Initializes a new instance of the Geometry class in the Azure DocumentDB database service.

Properties

AdditionalProperties

Gets additional properties in the Azure DocumentDB database service.

BoundingBox

Gets bounding box for this geometry in the Azure DocumentDB database service.

Crs

Gets the Coordinate Reference System for this geometry in the Azure DocumentDB database service.

Type

Gets geometry type in the Azure DocumentDB database service.

Methods

Equals(Object)

Determines whether the specified Geometry is equal to the current Geometry in the Azure DocumentDB database service.

GetHashCode()

Serves as a hash function for the Geometry type in the Azure DocumentDB database service.

Extension Methods

Distance(Geometry, Geometry)
Intersects(Geometry, Geometry)
IsValid(Geometry)
IsValidDetailed(Geometry)
Within(Geometry, Geometry)
IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)