LinearRing Class

Definition

A LinearRing is closed LineString with 4 or more positions. The first and last positions are equivalent (they represent equivalent points). Though a LinearRing is not explicitly represented as a GeoJSON geometry type, it is referred to in the Polygon geometry type definition in the Azure DocumentDB database service.

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Documents.Spatial.Converters.LinearRingJsonConverter))]
public sealed class LinearRing : IEquatable<Microsoft.Azure.Documents.Spatial.LinearRing>
Inheritance
LinearRing
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Constructors

LinearRing(IList<Position>)

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

Properties

Positions

Gets the LinearRing positions in the Azure DocumentDB database service.

Methods

Equals(LinearRing)

Determines if this LinearRing is equal to the other in the Azure DocumentDB database service.

Equals(Object)

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

GetHashCode()

Serves as a hash function for the LinearRing positions in the Azure DocumentDB database service.

Extension Methods

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