Table of Contents

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

Id int

The point identifier (primary key).

Visibility int

Point visibility flags.

X double

3D X coordinate in millimeters.

Y double

3D Y coordinate in millimeters.

Z double

3D Z coordinate in millimeters.

Fields

ExpectedRowSize

The expected row body size in bytes: 32.

public const int ExpectedRowSize = 32

Field Value

int

TableKey

The table key in model database sections: 13.

public const int TableKey = 13

Field Value

int

Properties

Id

The point identifier (primary key).

public int Id { get; init; }

Property Value

int

Visibility

Point visibility flags.

public int Visibility { get; init; }

Property Value

int

X

3D X coordinate in millimeters.

public double X { get; init; }

Property Value

double

Y

3D Y coordinate in millimeters.

public double Y { get; init; }

Property Value

double

Z

3D Z coordinate in millimeters.

public double Z { get; init; }

Property Value

double

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.PointRow.

public static PointRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

PointRow

Decode(TableRow)

Decodes the body of row into a TdbIO.PointRow.

public static PointRow Decode(TableRow row)

Parameters

row TableRow

Returns

PointRow