MCPcopy Create free account
hub / github.com/PDAL/PDAL / append

Function append

pdal/PointView.hpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94 inline void appendPoint(const PointView& buffer, PointId id);
95 void append(const PointView& buf)
96 {
97 // We use size() instead of the index end because temp points might have been
98 // placed at the end of the buffer. Those temp points on this view are discarded,
99 // as are any on the temp list.
100 auto thisEnd = m_index.begin() + size();
101 auto bufEnd = buf.m_index.begin() + buf.size();
102 m_index.insert(thisEnd, buf.m_index.begin(), bufEnd);
103 m_size += buf.size();
104 }
105
106 /// Return a new point view with the same point table as this
107 /// point buffer.

Callers 1

E57_INTERNAL_ACCESSFunction · 0.85

Calls 4

sizeFunction · 0.70
beginMethod · 0.45
sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected