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
Idint-
The bolt object identifier (primary key).
BoltAttrIdint-
Identifier in table 108 (
bolt_attr). PositioningAttrIdint-
Positioning attribute identifier.
FirstPointIdint-
First reference point identifier in table 13 (
point). SecondPointIdint-
Second reference point identifier in table 13 (
point). PolygonIdint-
Polygon shape identifier.
Fields
ExpectedRowSize
The expected row body size in bytes: 24.
public const int ExpectedRowSize = 24Field Value
TableKey
The table key in model database sections: 107.
public const int TableKey = 107Field Value
Properties
BoltAttrId
Identifier in table 108 (bolt_attr).
public int BoltAttrId { get; init; }Property Value
FirstPointId
First reference point identifier in table 13 (point).
public int FirstPointId { get; init; }Property Value
Id
The bolt object identifier (primary key).
public int Id { get; init; }Property Value
PolygonId
Polygon shape identifier.
public int PolygonId { get; init; }Property Value
PositioningAttrId
Positioning attribute identifier.
public int PositioningAttrId { get; init; }Property Value
SecondPointId
Second reference point identifier in table 13 (point).
public int SecondPointId { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.BoltRow.
public static BoltRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.BoltRow.
public static BoltRow Decode(TableRow row)Parameters
rowTableRow