Table of Contents

Struct BoltRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 107 (bolt, size 24): bolt group definition and reference points.

public readonly record struct BoltRow : IEquatable<BoltRow>

Implements

Inherited Members

Constructors

BoltRow(int, int, int, int, int, int)

Decoded row of table 107 (bolt, size 24): bolt group definition and reference points.

public BoltRow(int Id, int BoltAttrId, int PositioningAttrId, int FirstPointId, int SecondPointId, int PolygonId)

Parameters

Id int

The bolt object identifier (primary key).

BoltAttrId int

Identifier in table 108 (bolt_attr).

PositioningAttrId int

Positioning attribute identifier.

FirstPointId int

First reference point identifier in table 13 (point).

SecondPointId int

Second reference point identifier in table 13 (point).

PolygonId int

Polygon shape identifier.

Fields

ExpectedRowSize

The expected row body size in bytes: 24.

public const int ExpectedRowSize = 24

Field Value

int

TableKey

The table key in model database sections: 107.

public const int TableKey = 107

Field Value

int

Properties

BoltAttrId

Identifier in table 108 (bolt_attr).

public int BoltAttrId { get; init; }

Property Value

int

FirstPointId

First reference point identifier in table 13 (point).

public int FirstPointId { get; init; }

Property Value

int

Id

The bolt object identifier (primary key).

public int Id { get; init; }

Property Value

int

PolygonId

Polygon shape identifier.

public int PolygonId { get; init; }

Property Value

int

PositioningAttrId

Positioning attribute identifier.

public int PositioningAttrId { get; init; }

Property Value

int

SecondPointId

Second reference point identifier in table 13 (point).

public int SecondPointId { get; init; }

Property Value

int

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.BoltRow.

public static BoltRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

BoltRow

Decode(TableRow)

Decodes the body of row into a TdbIO.BoltRow.

public static BoltRow Decode(TableRow row)

Parameters

row TableRow

Returns

BoltRow