Table of Contents

Struct PolygonPart

Namespace
SpatialNET
Assembly
SpatialNET.Core.dll

A polygon part: a shell together with the holes that lie directly inside it (ADR 0003).

public readonly record struct PolygonPart : IEquatable<PolygonPart>

Implements

Inherited Members

Constructors

PolygonPart(ReadOnlyMemory<Coordinate>, ReadOnlyMemory<ReadOnlyMemory<Coordinate>>)

A polygon part: a shell together with the holes that lie directly inside it (ADR 0003).

public PolygonPart(ReadOnlyMemory<Coordinate> Shell, ReadOnlyMemory<ReadOnlyMemory<Coordinate>> Holes = default)

Parameters

Shell ReadOnlyMemory<Coordinate>

The shell; closed, counter-clockwise.

Holes ReadOnlyMemory<ReadOnlyMemory<Coordinate>>

The holes; closed, clockwise.

Properties

Holes

The holes; closed, clockwise.

public ReadOnlyMemory<ReadOnlyMemory<Coordinate>> Holes { get; init; }

Property Value

ReadOnlyMemory<ReadOnlyMemory<Coordinate>>

Shell

The shell; closed, counter-clockwise.

public ReadOnlyMemory<Coordinate> Shell { get; init; }

Property Value

ReadOnlyMemory<Coordinate>