Table of Contents

Interface ISpatialReferenceResolver

Namespace
EncDotNet.S100.Pipelines.Vector
Assembly
EncDotNet.S100.Core.dll

Resolves the spatial objects a portrayal rule names with a SpatialReference drawing command, so a line instruction can be drawn along those curves only rather than the feature's whole geometry.

public interface ISpatialReferenceResolver

Remarks

S-100 Part 9a ยง9a-11.2.4: SpatialReference:id[,forward] restricts the following drawing instructions to the referenced spatial object until ClearGeometry. The S-101 portrayal catalogue uses it to draw, for example, the safety contour on just the depth-area edges at the safety depth. Like IFeatureAnchorProvider, this seam runs during parse; products whose rules never emit spatial references supply none.

Methods

ResolveCurve(string)

Returns the coordinates of the curve spatialId in its own (forward) direction, or null when the id names no curve.

IReadOnlyList<GeoPosition>? ResolveCurve(string spatialId)

Parameters

spatialId string

The spatial id the host gave the rule (DEF-decoded).

Returns

IReadOnlyList<GeoPosition>