Table of Contents

Class S57Edge

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

Represents an edge in an S-57 chart.

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

Remarks

Edges (RCNM=130) are line spatial objects that connect two nodes (beginning and end). They form the basic building blocks of the vector topology and may contain intermediate points that define the shape of the line between the end nodes.

In S-57 topology, edges are bounded by connected nodes and may be referenced by faces to form area boundaries.

Properties

BeginningNode

Gets the record name of the beginning (start) node.

public S57RecordName? BeginningNode { get; }

Property Value

S57RecordName?

EndNode

Gets the record name of the end node.

public S57RecordName? EndNode { get; }

Property Value

S57RecordName?

HasBeginningNode

Gets a value indicating whether this edge has a beginning node reference.

public bool HasBeginningNode { get; }

Property Value

bool

HasEndNode

Gets a value indicating whether this edge has an end node reference.

public bool HasEndNode { get; }

Property Value

bool

HasIntermediatePoints

Gets a value indicating whether this edge has intermediate points.

public bool HasIntermediatePoints { get; }

Property Value

bool

IntermediatePoints

Gets the intermediate coordinate points along the edge.

public IReadOnlyList<S57Coordinate2D> IntermediatePoints { get; }

Property Value

IReadOnlyList<S57Coordinate2D>

Remarks

These coordinates define the shape of the edge between the beginning and end nodes. The beginning and end node positions are not included in this array.