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

Method initialize

io/PlyReader.cpp:329–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void PlyReader::initialize()
330{
331 m_stream = Utils::openFile(m_filename, true);
332 if (!m_stream)
333 throwError("Couldn't open '" + m_filename + "'.");
334 try
335 {
336 extractHeader();
337 }
338 catch( ... )
339 {
340 Utils::closeFile(m_stream);
341 m_stream = nullptr;
342 throw;
343 }
344 Utils::closeFile(m_stream);
345 m_stream = nullptr;
346}
347
348
349void PlyReader::addDimensions(PointLayoutPtr layout)

Callers

nothing calls this directly

Calls 2

openFileFunction · 0.50
closeFileFunction · 0.50

Tested by

no test coverage detected