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
ArcCurves
Gets the arc/curve definitions (ARCC) that give the shape of the edge, if any.
public IReadOnlyList<S57ArcCurve> ArcCurves { get; }
Property Value
Remarks
An edge has either SG2D coordinates or arc/curve definitions (S-57 Part 3, clause 5.1.4.4). Use S57ArcDensifier to densify them with another tolerance.
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
HasArcCurves
Gets a value indicating whether the shape of this edge is given by arc/curve definitions.
public bool HasArcCurves { 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.
For an edge whose shape is given by arc/curve definitions (ArcCurves) rather than SG2D coordinates, these are the arcs densified by S57ArcDensifier with its DefaultTolerance, so that the edge keeps its curve.