LineString Class

Definition

Represents a geometry consisting of connected line segments.

public sealed class LineString : Microsoft.Azure.Documents.Spatial.Geometry, IEquatable<Microsoft.Azure.Documents.Spatial.LineString>
Inheritance
LineString
Implements

Inherited Members

Microsoft.Azure.Documents.Spatial.Geometry

Constructors

LineString(IList<Position>)

Initializes a new instance of the LineString class.

LineString(IList<Position>, GeometryParams)

Initializes a new instance of the LineString class.

Properties

Positions

Gets line string positions.

Methods

Equals(LineString)

Determines if this LineString is equal to the other.

Equals(Object)

Determines whether the specified LineString is equal to the current LineString.

GetHashCode()

Serves as a hash function for the LineString type.

Extension Methods

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