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
ShellReadOnlyMemory<Coordinate>-
The shell; closed, counter-clockwise.
HolesReadOnlyMemory<ReadOnlyMemory<Coordinate>>-
The holes; closed, clockwise.
Properties
Holes
The holes; closed, clockwise.
public ReadOnlyMemory<ReadOnlyMemory<Coordinate>> Holes { get; init; }Property Value
Shell
The shell; closed, counter-clockwise.
public ReadOnlyMemory<Coordinate> Shell { get; init; }