Class LandPolygon
A single land polygon of the bundled Natural Earth basemap, expressed in EPSG:3857 Web-Mercator metres. The exterior shell and any interior holes are consumed both by the vector/composite scene path (as AreaPaintOps) and by the coverage single-render path (drawn directly through its centred-fit projection). Rings are closed (the last point repeats the first).
public sealed record LandPolygon : IEquatable<LandPolygon>
- Inheritance
-
LandPolygon
- Implements
- Inherited Members
Constructors
LandPolygon(IReadOnlyList<(double X, double Y)>, IReadOnlyList<IReadOnlyList<(double X, double Y)>>)
A single land polygon of the bundled Natural Earth basemap, expressed in EPSG:3857 Web-Mercator metres. The exterior shell and any interior holes are consumed both by the vector/composite scene path (as AreaPaintOps) and by the coverage single-render path (drawn directly through its centred-fit projection). Rings are closed (the last point repeats the first).
public LandPolygon(IReadOnlyList<(double X, double Y)> WorldShell, IReadOnlyList<IReadOnlyList<(double X, double Y)>> WorldHoles)
Parameters
WorldShellIReadOnlyList<(double X, double Y)>Exterior ring in EPSG:3857 metres.
WorldHolesIReadOnlyList<IReadOnlyList<(double X, double Y)>>Interior (hole) rings in EPSG:3857 metres.
Properties
WorldHoles
Interior (hole) rings in EPSG:3857 metres.
public IReadOnlyList<IReadOnlyList<(double X, double Y)>> WorldHoles { get; init; }
Property Value
- IReadOnlyList<IReadOnlyList<(double X, double Y)>>
WorldShell
Exterior ring in EPSG:3857 metres.
public IReadOnlyList<(double X, double Y)> WorldShell { get; init; }
Property Value
- IReadOnlyList<(double X, double Y)>