Table of Contents

Struct S57Sounding

Namespace
EncDotNet.S57
Assembly
EncDotNet.S57.dll

Represents a 3D sounding coordinate in S-57.

public readonly record struct S57Sounding : IEquatable<S57Sounding>
Implements
Inherited Members

Properties

Depth

Gets the depth value (VE3D).

public int Depth { get; init; }

Property Value

int

X

Gets the X coordinate (XCOO) or longitude.

public int X { get; init; }

Property Value

int

Y

Gets the Y coordinate (YCOO) or latitude.

public int Y { get; init; }

Property Value

int

Methods

ToDecimalValues(int, int)

Converts to decimal degrees and depth using the specified multiplication factors.

public (double Longitude, double Latitude, double Depth) ToDecimalValues(int coordinateMultiplicationFactor, int soundingMultiplicationFactor)

Parameters

coordinateMultiplicationFactor int
soundingMultiplicationFactor int

Returns

(double Distance, double Lat, double Lon)