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

Method ready

io/QfitReader.cpp:311–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310
311void QfitReader::ready(PointTableRef)
312{
313 m_numPoints = m_point_bytes / m_size;
314 if (m_point_bytes % m_size)
315 throwError("Error calculating file point count. File size is "
316 "inconsistent with point size.");
317 m_index = 0;
318 m_istream.reset(new IStream(m_filename));
319 m_istream->seek(m_offset);
320}
321
322
323point_count_t QfitReader::read(PointViewPtr data, point_count_t count)

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
seekMethod · 0.45

Tested by

no test coverage detected