Struct ClStripPosRecord
- Namespace
- Hi.MachiningSteps
- Assembly
- HiMech.dll
Internal Use Only. The record of one ClStripPos as the result recording takes
it: the position's index, which is the index of the step built on it, and its program CL,
the point and the normal (the whole dvec3d_t). Taken on
PosAdded, where the position has no step yet – its state is the
colour seed until the step pipeline's fourth stage publishes the step on it – so the index
is Index, never a step's. A record struct: its Equals and
== are the value equality of dvec3d_t, under which NaN differs from
itself; the bit-for-bit comparison is BitEquals.
public readonly record struct ClStripPosRecord : IEquatable<ClStripPosRecord>
- Implements
- Inherited Members
- Extension Methods
Constructors
ClStripPosRecord(int, dvec3d_t)
Internal Use Only. The record of one ClStripPos as the result recording takes
it: the position's index, which is the index of the step built on it, and its program CL,
the point and the normal (the whole dvec3d_t). Taken on
PosAdded, where the position has no step yet – its state is the
colour seed until the step pipeline's fourth stage publishes the step on it – so the index
is Index, never a step's. A record struct: its Equals and
== are the value equality of dvec3d_t, under which NaN differs from
itself; the bit-for-bit comparison is BitEquals.
public ClStripPosRecord(int StepIndex, dvec3d_t ProgramCl)
Parameters
StepIndexintThe position's index in its strip: the step index, the record's key.
ProgramCldvec3d_tThe program CL of the position: the point and the normal.
Properties
ProgramCl
The program CL of the position: the point and the normal.
public dvec3d_t ProgramCl { get; init; }
Property Value
StepIndex
The position's index in its strip: the step index, the record's key.
public int StepIndex { get; init; }
Property Value
Methods
Of(ClStripPos)
Internal Use Only. The record of pos: its Index
and its ProgramCl; the position's state is not read.
public static ClStripPosRecord Of(ClStripPos pos)
Parameters
posClStripPosThe position; not null.
Returns
- ClStripPosRecord
The record.
Exceptions
- ArgumentNullException
posis null.