#include "ct_laspointformat1.h" CT_LASPointFormat1::CT_LASPointFormat1() : CT_LASPointFormat0() { } size_t CT_LASPointFormat1::sizeInBytes() const { return CT_LASPointFormat0::sizeInBytes() + gpsPacketSizeInBytes(); } CT_LasPointInfo* CT_LASPointFormat1::write(QDataStream &stream, const CT_Point &p, const size_t &globalIndex) { CT_LasPointInfo *info = CT_LASPointFormat0::write(stream, p, globalIndex); writeInfoFormat1(stream, info); return info; } QList CT_LASPointFormat1::typesToSearch() { QList l = CT_LASPointFormat0::typesToSearch(); l.append(gpsPacketTypesNeeded()); return l; } void CT_LASPointFormat1::writeInfoFormat1(QDataStream &stream, CT_LasPointInfo *info) { writeGpsPacket(stream, info); }