Class LinearRing

Namespace
Cratis.Geospatial
Assembly
Cratis.Fundamentals.dll

Represents a closed linear ring (polygon boundary).

public record LinearRing : IEquatable<LinearRing>
Inheritance
LinearRing
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of LinearRing.

Constructors

LinearRing(LinearRing)

protected LinearRing(LinearRing original)

Parameters

original LinearRing

LinearRing(Point[])

Represents a closed linear ring (polygon boundary).

public LinearRing(Point[] Coordinates)

Parameters

Coordinates Point[]

The points that make up the linear ring. First and last point must be identical to close the ring.

Remarks

Initializes a new instance of LinearRing.

Properties

Coordinates

The points that make up the linear ring. First and last point must be identical to close the ring.

public Point[] Coordinates { get; init; }

Property Value

Point[]

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out Point[])

public void Deconstruct(out Point[] Coordinates)

Parameters

Coordinates Point[]

Equals(LinearRing?)

public virtual bool Equals(LinearRing? other)

Parameters

other LinearRing

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(LinearRing?, LinearRing?)

public static bool operator ==(LinearRing? left, LinearRing? right)

Parameters

left LinearRing
right LinearRing

Returns

bool

operator !=(LinearRing?, LinearRing?)

public static bool operator !=(LinearRing? left, LinearRing? right)

Parameters

left LinearRing
right LinearRing

Returns

bool