Class WaveHeightStyle
The significant wave height (wave.hs) as a colour fill in 15 bands,
the Douglas sea-state boundaries made finer. On by default.
public sealed class WaveHeightStyle : WeatherCoverageStyle, ICoverageStyle
- Inheritance
-
WaveHeightStyle
- Implements
- Inherited Members
Remarks
The bands break at 0.5, 1, 1.5, 2, 2.5, 3, 4, 5, 6, 7, 8, 9, 12 and 14 m (Boundaries); the top band is 14 m and higher. Colours are the violet ramp of WeatherPalette, drawn at FillOpacity. Waves are a sea quantity, so the fill is clipped to water when an S-101 chart is loaded (ClipToWater).
Constructors
WaveHeightStyle()
Creates the style, with the Day palette active.
public WaveHeightStyle()
Fields
Key
The sub-layer key, "weather.wave.height".
public const string Key = "weather.wave.height"
Field Value
Properties
Bands
The bands, lowest first, in metres.
public static IReadOnlyList<WeatherBand> Bands { get; }
Property Value
Boundaries
The band boundaries in metres, lowest first.
public static IReadOnlyList<double> Boundaries { get; }
Property Value
Methods
ResolveColorScheme(MarinerSettings)
The colour bands of a fill, resolved against the active palette, or null for a symbol style.
public override CoverageColorScheme ResolveColorScheme(MarinerSettings settings)
Parameters
settingsMarinerSettingsUnused: the weather bands don't depend on mariner settings.