Struct BoltHolePointsRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 142 (bolt_hole_points, size 60): intermediate bolt pattern coordinates.
public readonly record struct BoltHolePointsRow : IEquatable<BoltHolePointsRow>Implements
Inherited Members
Constructors
BoltHolePointsRow(int, double, double, double, double, double, double, int)
Decoded row of table 142 (bolt_hole_points, size 60): intermediate bolt pattern coordinates.
public BoltHolePointsRow(int BoltId, double IntPoint1X, double IntPoint1Y, double IntPoint1Z, double IntPoint2X, double IntPoint2Y, double IntPoint2Z, int NumHoles)Parameters
BoltIdint-
The bolt group identifier.
IntPoint1Xdouble-
First intermediate coordinate X.
IntPoint1Ydouble-
First intermediate coordinate Y.
IntPoint1Zdouble-
First intermediate coordinate Z.
IntPoint2Xdouble-
Second intermediate coordinate X.
IntPoint2Ydouble-
Second intermediate coordinate Y.
IntPoint2Zdouble-
Second intermediate coordinate Z.
NumHolesint-
Number of holes in the pattern.
Fields
ExpectedRowSize
The expected row body size in bytes: 60.
public const int ExpectedRowSize = 60Field Value
TableKey
The table key in model database sections: 142.
public const int TableKey = 142Field Value
Properties
BoltId
The bolt group identifier.
public int BoltId { get; init; }Property Value
IntPoint1X
First intermediate coordinate X.
public double IntPoint1X { get; init; }Property Value
IntPoint1Y
First intermediate coordinate Y.
public double IntPoint1Y { get; init; }Property Value
IntPoint1Z
First intermediate coordinate Z.
public double IntPoint1Z { get; init; }Property Value
IntPoint2X
Second intermediate coordinate X.
public double IntPoint2X { get; init; }Property Value
IntPoint2Y
Second intermediate coordinate Y.
public double IntPoint2Y { get; init; }Property Value
IntPoint2Z
Second intermediate coordinate Z.
public double IntPoint2Z { get; init; }Property Value
NumHoles
Number of holes in the pattern.
public int NumHoles { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.BoltHolePointsRow.
public static BoltHolePointsRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.BoltHolePointsRow.
public static BoltHolePointsRow Decode(TableRow row)Parameters
rowTableRow