Struct PartRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 10 (part, size 64): part reference points and local coordinate system.
public readonly record struct PartRow : IEquatable<PartRow>Implements
Inherited Members
Constructors
PartRow(int, int, int, int, int, int, int, int, double, double, double, double)
Decoded row of table 10 (part, size 64): part reference points and local coordinate system.
public PartRow(int Id, int PartAttrId, int PositioningAttrId, int StartPointId, int EndPointId, int GeometryTreeRootId, int CoordsysAttrId, int Reserved, double CoordsysX, double CoordsysY, double CoordsysZ, double Length)Parameters
Idint-
The part identifier (primary key).
PartAttrIdint-
The attribute identifier in table 44 (
part_attr). PositioningAttrIdint-
The positioning attribute identifier.
StartPointIdint-
The start point identifier in table 13 (
point). EndPointIdint-
The end point identifier in table 13 (
point). GeometryTreeRootIdint-
The geometry tree root node identifier.
CoordsysAttrIdint-
The coordinate system attribute identifier.
Reservedint-
Reserved integer field.
CoordsysXdouble-
Local coordinate system origin X.
CoordsysYdouble-
Local coordinate system origin Y.
CoordsysZdouble-
Local coordinate system origin Z.
Lengthdouble-
Length of the part.
Fields
ExpectedRowSize
The expected row body size in bytes: 64.
public const int ExpectedRowSize = 64Field Value
TableKey
The table key in model database sections: 10.
public const int TableKey = 10Field Value
Properties
CoordsysAttrId
The coordinate system attribute identifier.
public int CoordsysAttrId { get; init; }Property Value
CoordsysX
Local coordinate system origin X.
public double CoordsysX { get; init; }Property Value
CoordsysY
Local coordinate system origin Y.
public double CoordsysY { get; init; }Property Value
CoordsysZ
Local coordinate system origin Z.
public double CoordsysZ { get; init; }Property Value
EndPointId
The end point identifier in table 13 (point).
public int EndPointId { get; init; }Property Value
GeometryTreeRootId
The geometry tree root node identifier.
public int GeometryTreeRootId { get; init; }Property Value
Id
The part identifier (primary key).
public int Id { get; init; }Property Value
Length
Length of the part.
public double Length { get; init; }Property Value
PartAttrId
The attribute identifier in table 44 (part_attr).
public int PartAttrId { get; init; }Property Value
PositioningAttrId
The positioning attribute identifier.
public int PositioningAttrId { get; init; }Property Value
Reserved
Reserved integer field.
public int Reserved { get; init; }Property Value
StartPointId
The start point identifier in table 13 (point).
public int StartPointId { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.PartRow.
public static PartRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.PartRow.
public static PartRow Decode(TableRow row)Parameters
rowTableRow