Class RouteArea
- Namespace
- EncDotNet.S100.Navigation
- Assembly
- EncDotNet.S100.Navigation.dll
One regulated area to check a route against: an S-101 restricted, caution, anchorage or traffic area, or an S-122 protected area.
public sealed record RouteArea : IEquatable<RouteArea>
- Inheritance
-
RouteArea
- Implements
- Inherited Members
Constructors
RouteArea(RouteAreaProduct, RouteAreaKind, string, IReadOnlyList<SurfacePart>, RouteFindingFeature?)
One regulated area to check a route against: an S-101 restricted, caution, anchorage or traffic area, or an S-122 protected area.
public RouteArea(RouteAreaProduct Product, RouteAreaKind Kind, string FeatureType, IReadOnlyList<SurfacePart> Surfaces, RouteFindingFeature? Feature = null)
Parameters
ProductRouteAreaProductThe product it comes from.
KindRouteAreaKindWhat it is.
FeatureTypestringIts feature type, such as
"RestrictedArea".SurfacesIReadOnlyList<SurfacePart>Its surfaces in WGS-84, with their holes.
FeatureRouteFindingFeatureThe feature behind it, which the finding refers to, or
null.
Properties
AreaKind
Its kind of prohibited area or area with special conditions in the
S-101 alert catalogue: the viewing group of its ProhAre
highlight (53012–53024, RouteAreaKinds), or null
when it raises no ProhAre alert, as an S-122 area or an S-101
precautionary area (#1127).
public int? AreaKind { get; init; }
Property Value
- int?
Categories
Its category codes: categoryOfRestrictedArea for a restricted
or protected area, categoryOfMilitaryPracticeArea,
categoryOfAnchorage.
public IReadOnlyList<int> Categories { get; init; }
Property Value
CategoryOfMarineProtectedArea
An S-122 area's categoryOfMarineProtectedArea (IUCN category), or null.
public int? CategoryOfMarineProtectedArea { get; init; }
Property Value
- int?
Cell
The S-101 cell that charts it, for the finest-cell rule, or
null (S-122, or when not known).
public RouteChartCell? Cell { get; init; }
Property Value
Feature
The feature behind it, which the finding refers to, or null.
public RouteFindingFeature? Feature { get; init; }
Property Value
FeatureType
Its feature type, such as "RestrictedArea".
public string FeatureType { get; init; }
Property Value
FixedDateRange
When the area is valid (fixedDateRange), or null for always.
public RouteAreaDateRange? FixedDateRange { get; init; }
Property Value
Kind
What it is.
public RouteAreaKind Kind { get; init; }
Property Value
Name
Its name (featureName), or null.
public string? Name { get; init; }
Property Value
PeriodicDateRanges
When the area is active each year (periodicDateRange); empty for all year.
public IReadOnlyList<RouteAreaDateRange> PeriodicDateRanges { get; init; }
Property Value
Product
The product it comes from.
public RouteAreaProduct Product { get; init; }
Property Value
Restrictions
Its restriction codes, in the order given.
public IReadOnlyList<int> Restrictions { get; init; }
Property Value
Surfaces
Its surfaces in WGS-84, with their holes.
public IReadOnlyList<SurfacePart> Surfaces { get; init; }