Table of Contents

Class S57LineFeature

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

Represents a line feature in an S-57 chart.

public sealed record S57LineFeature : S57TypedFeature, IEquatable<S57TypedFeature>, IEquatable<S57LineFeature>
Inheritance
S57LineFeature
Implements
Inherited Members

Remarks

Line features (PRIM=2) are geographic objects represented by a series of connected points, such as coastlines, depth contours, cables, pipelines, or traffic separation lines.

Line features reference one or more edges for their geometry.

Properties

EdgeCount

Gets the number of edges that make up this feature.

public int EdgeCount { get; }

Property Value

int

EdgeReferences

Gets the edge references that make up this line feature.

public IReadOnlyList<S57SpatialPointer> EdgeReferences { get; }

Property Value

IReadOnlyList<S57SpatialPointer>

HasEdgeReferences

Gets a value indicating whether this feature has edge references.

public bool HasEdgeReferences { get; }

Property Value

bool