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
Idint-
The coordinate system identifier (primary key).
AttrIdint-
The coordinate system attribute identifier.
Xdouble-
Origin X coordinate.
Ydouble-
Origin Y coordinate.
Zdouble-
Origin Z coordinate.
Lengthdouble-
Coordinate system length or scale factor.
Fields
ExpectedRowSize
The expected row body size in bytes: 40.
public const int ExpectedRowSize = 40Field Value
TableKey
The table key in model database sections: 3.
public const int TableKey = 3Field Value
Properties
AttrId
The coordinate system attribute identifier.
public int AttrId { get; init; }Property Value
Id
The coordinate system identifier (primary key).
public int Id { get; init; }Property Value
Length
Coordinate system length or scale factor.
public double Length { get; init; }Property Value
X
Origin X coordinate.
public double X { get; init; }Property Value
Y
Origin Y coordinate.
public double Y { get; init; }Property Value
Z
Origin Z coordinate.
public double Z { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.CoordsysRow.
public static CoordsysRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.CoordsysRow.
public static CoordsysRow Decode(TableRow row)Parameters
rowTableRow