Table of Contents

Interface IChartedDepthSource

Namespace
EncDotNet.S100.Navigation
Assembly
EncDotNet.S100.Navigation.dll

Supplies charted depth at a point: S-102 bathymetry, with S-101 as the fallback where no S-102 covers it. The clearance check reads the whole chain (Sample(GeoPosition)); the chart check's S-102 shoal test reads S-102 only (SampleBathymetry(GeoPosition)), so one source serves both.

public interface IChartedDepthSource

Remarks

Implementations must be safe to call from several threads at once: the checks of one route run concurrently over shared sources.

Methods

FinestGridSpacingMeters(BoundingBox)

The finest gridded-depth (S-102) cell size in metres among the surfaces that overlap the box, or null when none does. The checks sample at this spacing so they don't step over grid cells.

double? FinestGridSpacingMeters(BoundingBox extent)

Parameters

extent BoundingBox

The box, in WGS-84.

Returns

double?

The finest cell size in metres, or null.

Sample(GeoPosition)

The charted depth at a point by the ChartedDepthResolver priority, or null when no source covers it.

ChartedDepth? Sample(GeoPosition position)

Parameters

position GeoPosition

The point, in WGS-84.

Returns

ChartedDepth

The depth, or null.

SampleBathymetry(GeoPosition)

The S-102 depth at a point (Bathymetry), or null where no S-102 surface has a value, without falling back to S-101.

ChartedDepth? SampleBathymetry(GeoPosition position)

Parameters

position GeoPosition

The point, in WGS-84.

Returns

ChartedDepth

The depth, or null.