Print2DAsUint16 Data Member Function

Prints the array in 2D as the underlying <uint16> values the <float16> values are packed into. Essentially prints a .CSV into a <StrList>.

Prototype

int32 Print2DAsUint16( Float16Iterator first, Float16Iterator last, int32 p_nWidth, int32 p_nHeight, StrList p_slInfo )

Parameters

Parameter Type Parameter Name Documentation
<Float16Iterator>firstAn iterator at the start of the range you wish to print.
<Float16Iterator>lastAn iterator at the end of the range you wish to print.
int32p_nWidthThe 'width' of the data. The range specified by the iterators must have a count of width x height.
int32p_nHeightThe 'height' of the data. The range specified by the iterators must have a count of width x height.
<StrList>p_slInfoThe <StrList> that will contain the printed values.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.