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

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. 

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.