Table of Contents

Class S57IsolatedNode

Namespace
EncDotNet.S57.Charts
Assembly
EncDotNet.S57.dll

Represents an isolated node in an S-57 chart.

public sealed record S57IsolatedNode : S57SpatialRecord, IEquatable<S57SpatialRecord>, IEquatable<S57IsolatedNode>
Inheritance
S57IsolatedNode
Implements
Inherited Members

Remarks

Isolated nodes (RCNM=110) are point spatial objects that are not connected to edges. They are used to represent either a single geographic position or sounding points.

An isolated node contains either a 2D position (Position) or 3D soundings (Soundings), but not both.

Properties

HasPosition

Gets a value indicating whether this node contains a single position.

public bool HasPosition { get; }

Property Value

bool

HasSoundings

Gets a value indicating whether this node contains sounding data.

public bool HasSoundings { get; }

Property Value

bool

Position

Gets the position of this node, if it represents a single point.

public S57Coordinate2D? Position { get; }

Property Value

S57Coordinate2D?

Remarks

This property is null when the node represents soundings instead of a single position. Use HasSoundings to determine if this node has sounding data.

Soundings

Gets the sounding values if this node represents sounding points.

public IReadOnlyList<S57Sounding> Soundings { get; }

Property Value

IReadOnlyList<S57Sounding>

Remarks

Soundings are 3D coordinates (X, Y, depth) used for bathymetric data. When present, Position will be null.