Table of Contents

Struct CoordsysRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 3 (coordsys, size 40): coordinate system origin and length.

public readonly record struct CoordsysRow : IEquatable<CoordsysRow>

Implements

Inherited Members

Constructors

CoordsysRow(int, int, double, double, double, double)

Decoded row of table 3 (coordsys, size 40): coordinate system origin and length.

public CoordsysRow(int Id, int AttrId, double X, double Y, double Z, double Length)

Parameters

Id int

The coordinate system identifier (primary key).

AttrId int

The coordinate system attribute identifier.

X double

Origin X coordinate.

Y double

Origin Y coordinate.

Z double

Origin Z coordinate.

Length double

Coordinate system length or scale factor.

Fields

ExpectedRowSize

The expected row body size in bytes: 40.

public const int ExpectedRowSize = 40

Field Value

int

TableKey

The table key in model database sections: 3.

public const int TableKey = 3

Field Value

int

Properties

AttrId

The coordinate system attribute identifier.

public int AttrId { get; init; }

Property Value

int

Id

The coordinate system identifier (primary key).

public int Id { get; init; }

Property Value

int

Length

Coordinate system length or scale factor.

public double Length { get; init; }

Property Value

double

X

Origin X coordinate.

public double X { get; init; }

Property Value

double

Y

Origin Y coordinate.

public double Y { get; init; }

Property Value

double

Z

Origin Z coordinate.

public double Z { get; init; }

Property Value

double

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.CoordsysRow.

public static CoordsysRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

CoordsysRow

Decode(TableRow)

Decodes the body of row into a TdbIO.CoordsysRow.

public static CoordsysRow Decode(TableRow row)

Parameters

row TableRow

Returns

CoordsysRow