25 Q_DECLARE_FLAGS(PGWKBFlags, PGWKBFlag)
32 bool operator==(
const Patch& _rhs)
const;
50 void append(
const Point& _point);
51 template<
typename... Types>
52 inline void append(
const std::tuple<Types...>& _values);
53 template<
typename... Types>
54 void append(Types... _values)
56 append(std::make_tuple(_values...));
58 std::size_t pointsCount()
const;
59 template<
typename... Types>
60 inline std::tuple<Types...> get(std::size_t _index)
const;
61 Point get(std::size_t _index)
const;
67 QByteArray
toPGWKB(PGWKBFlags _flags = PGWKBFlag::Default)
const;
68 static cres_qresult<Patch> fromPGWKB(
const QByteArray&,
70 PGWKBFlags _flags = PGWKBFlag::Default);
78 static cres_qresult<Patch> fromPGWKB(
const QByteArray& _data,
80 PGWKBFlags _flags = PGWKBFlag::Default);
88 QByteArray
data()
const;
92 Patch transform(
const Cartography::CoordinateSystem& _coordinateSystem,
double _tx = 0.0,
93 double _ty = 0.0,
double _tz = 0.0)
const;
94 cres_qresult<QByteArray> md5()
const;
100 const knowGIS::GeometryObject& _geometry,
101 const knowCore::Timestamp& _timestamp);
106 const knowCore::Timestamp& _timestamp);
110 static Patch create(
const knowValues::Values::PointCloud& _rhs);
116 std::size_t prepareNextPointInsertion();
117 std::size_t pointSize()
const;
118 QByteArray& data_ref();
121 QSharedDataPointer<Private> d;