API Reference > Functions > writeFloatArrayAsDoubleArray Function
writeFloatArrayAsDoubleArray Function
Syntax
C++
void writeFloatArrayAsDoubleArray(const OdFloatArray & array, OdPrcCompressedFiler * pStream, OdUInt32 num);

PrcCompressedFiler.h

Parameters 
Description 
const OdFloatArray & array 
[in] A float array to be written.  
OdPrcCompressedFiler * pStream 
[in] A pointer to an output compressed data stream.  
OdUInt32 num 
[in] A quantity of values to be written to a data stream. 

Writes an array of float values as an array of double values to a compressed data stream .

Each element of the input float array is converted into double value before writing to the data stream.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.