OEWriteXYZFile

void OEWriteXYZFile(oemolostream& ofs, const OEMolBase& mol,
                    bool charges = true, bool symbols = true,
                    bool doubleprecision = false)

Writes the molecule as an XMol XYZ format file to the output stream ‘ofs’.