Class RouteWarningList
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
An IRouteWarningSource over a list of warning parts.
public sealed class RouteWarningList : IRouteWarningSource
- Inheritance
-
RouteWarningList
- Implements
- Inherited Members
Constructors
RouteWarningList(IReadOnlyList<RouteWarning>, NavigationalWarningSet?)
Creates the source.
public RouteWarningList(IReadOnlyList<RouteWarning> warnings, NavigationalWarningSet? set = null)
Parameters
warningsIReadOnlyList<RouteWarning>The warning parts.
setNavigationalWarningSetEvery loaded warning, including cancellations and in-force bulletins with no parts;
nullbuilds it fromwarnings.
Properties
All
Every warning part, in the order given.
public IReadOnlyList<RouteWarning> All { get; }
Property Value
Set
Every loaded warning, including cancellations and in-force bulletins with no parts, which may end the warnings near the route.
public NavigationalWarningSet Set { get; }
Property Value
Methods
WarningsNear(BoundingBox)
The warning parts whose shapes overlap a box, in a stable order.
public IReadOnlyList<RouteWarning> WarningsNear(BoundingBox extent)
Parameters
extentBoundingBoxThe box, in WGS-84.
Returns
- IReadOnlyList<RouteWarning>
The warning parts.