Class MarineZone
An NWS marine zone: its UGC code, name, office and outline.
public sealed record MarineZone : IEquatable<MarineZone>
- Inheritance
-
MarineZone
- Implements
- Inherited Members
Constructors
MarineZone(string, string, string, IReadOnlyList<SurfacePart>)
An NWS marine zone: its UGC code, name, office and outline.
public MarineZone(string Code, string Name, string Office, IReadOnlyList<SurfacePart> Surfaces)
Parameters
CodestringThe zone's UGC code, e.g.
"ANZ535".NamestringThe zone's name, e.g.
"Tidal Potomac from Key Bridge to Indian Head MD".OfficestringThe forecast office that issues for it, e.g.
"LWX"; empty when not given.SurfacesIReadOnlyList<SurfacePart>The zone's outline: one or more surfaces, each with its holes, WGS-84.
Properties
Code
The zone's UGC code, e.g. "ANZ535".
public string Code { get; init; }
Property Value
Name
The zone's name, e.g. "Tidal Potomac from Key Bridge to Indian Head MD".
public string Name { get; init; }
Property Value
Office
The forecast office that issues for it, e.g. "LWX"; empty when not given.
public string Office { get; init; }
Property Value
Surfaces
The zone's outline: one or more surfaces, each with its holes, WGS-84.
public IReadOnlyList<SurfacePart> Surfaces { get; init; }