Table of Contents

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

warnings IReadOnlyList<RouteWarning>

The warning parts.

set NavigationalWarningSet

Every loaded warning, including cancellations and in-force bulletins with no parts; null builds it from warnings.

Properties

All

Every warning part, in the order given.

public IReadOnlyList<RouteWarning> All { get; }

Property Value

IReadOnlyList<RouteWarning>

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

NavigationalWarningSet

Methods

WarningsNear(BoundingBox)

The warning parts whose shapes overlap a box, in a stable order.

public IReadOnlyList<RouteWarning> WarningsNear(BoundingBox extent)

Parameters

extent BoundingBox

The box, in WGS-84.

Returns

IReadOnlyList<RouteWarning>

The warning parts.