Struct PointRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 13 (point, size 32): 3D coordinates and visibility.
public readonly record struct PointRow : IEquatable<PointRow>Implements
Inherited Members
Constructors
PointRow(int, int, double, double, double)
Decoded row of table 13 (point, size 32): 3D coordinates and visibility.
public PointRow(int Id, int Visibility, double X, double Y, double Z)Parameters
Idint-
The point identifier (primary key).
Visibilityint-
Point visibility flags.
Xdouble-
3D X coordinate in millimeters.
Ydouble-
3D Y coordinate in millimeters.
Zdouble-
3D Z coordinate in millimeters.
Fields
ExpectedRowSize
The expected row body size in bytes: 32.
public const int ExpectedRowSize = 32Field Value
TableKey
The table key in model database sections: 13.
public const int TableKey = 13Field Value
Properties
Id
The point identifier (primary key).
public int Id { get; init; }Property Value
Visibility
Point visibility flags.
public int Visibility { get; init; }Property Value
X
3D X coordinate in millimeters.
public double X { get; init; }Property Value
Y
3D Y coordinate in millimeters.
public double Y { get; init; }Property Value
Z
3D Z coordinate in millimeters.
public double Z { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.PointRow.
public static PointRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.PointRow.
public static PointRow Decode(TableRow row)Parameters
rowTableRow