LinearRing Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Cosmos DB service.
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Cosmos.Spatial.Converters.LinearRingJsonConverter))]
[System.Runtime.Serialization.DataContract]
public sealed class LinearRing : IEquatable<Microsoft.Azure.Cosmos.Spatial.LinearRing>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Cosmos.Spatial.Converters.LinearRingJsonConverter))>]
[<System.Runtime.Serialization.DataContract>]
type LinearRing = class
interface IEquatable<LinearRing>
Public NotInheritable Class LinearRing
Implements IEquatable(Of LinearRing)
- Inheritance
-
LinearRing
- Attributes
-
Newtonsoft.Json.JsonConverterAttribute DataContractAttribute
- Implements
Constructors
LinearRing(IList<Position>) |
Initializes a new instance of the LinearRing class in the Azure Cosmos DB service. |
Properties
Positions |
Gets the LinearRing positions in the Azure Cosmos DB service. |
Methods
Equals(LinearRing) |
Determines if this LinearRing is equal to the |
Equals(Object) |
Determines whether the specified LinearRing is equal to the current LinearRing in the Azure Cosmos DB service. |
GetHashCode() |
Serves as a hash function for the LinearRing positions in the Azure Cosmos DB service. |