Class SurfacePart
One surface of a feature: an exterior ring and the interior rings (holes) that belong to it.
public sealed record SurfacePart : IEquatable<SurfacePart>
- Inheritance
-
SurfacePart
- Implements
- Inherited Members
Remarks
A feature may reference several surfaces (an S-100 Part 10a feature record's spatial association field repeats), for example a depth area split by the cell boundary. Each must be filled, outlined and queried on its own: joining their exterior rings into one ring draws and measures segments across the gaps between them (issue #643).
Constructors
SurfacePart(IReadOnlyList<GeoPosition>, IReadOnlyList<IReadOnlyList<GeoPosition>>)
One surface of a feature: an exterior ring and the interior rings (holes) that belong to it.
public SurfacePart(IReadOnlyList<GeoPosition> ExteriorRing, IReadOnlyList<IReadOnlyList<GeoPosition>> InteriorRings)
Parameters
ExteriorRingIReadOnlyList<GeoPosition>The exterior ring, in (latitude, longitude) order.
InteriorRingsIReadOnlyList<IReadOnlyList<GeoPosition>>The interior rings (holes) of this surface.
Remarks
A feature may reference several surfaces (an S-100 Part 10a feature record's spatial association field repeats), for example a depth area split by the cell boundary. Each must be filled, outlined and queried on its own: joining their exterior rings into one ring draws and measures segments across the gaps between them (issue #643).
Properties
ExteriorRing
The exterior ring, in (latitude, longitude) order.
public IReadOnlyList<GeoPosition> ExteriorRing { get; init; }
Property Value
InteriorRings
The interior rings (holes) of this surface.
public IReadOnlyList<IReadOnlyList<GeoPosition>> InteriorRings { get; init; }