| 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. |
no test coverage detected