Class S57Edge
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
EndNode
Gets the record name of the end node.
public S57RecordName? EndNode { get; }
Property Value
HasBeginningNode
Gets a value indicating whether this edge has a beginning node reference.
public bool HasBeginningNode { get; }
Property Value
HasEndNode
Gets a value indicating whether this edge has an end node reference.
public bool HasEndNode { get; }
Property Value
HasIntermediatePoints
Gets a value indicating whether this edge has intermediate points.
public bool HasIntermediatePoints { get; }
Property Value
IntermediatePoints
Gets the intermediate coordinate points along the edge.
public IReadOnlyList<S57Coordinate2D> IntermediatePoints { get; }
Property Value
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.