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

Method prepared

plugins/matlab/io/MatlabWriter.cpp:60–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59
60void MatlabWriter::prepared(PointTableRef table)
61{
62 if (m_outputDims.empty())
63 {
64 m_dims = table.layout()->dims();
65 }
66 else
67 {
68 for (std::string& s : m_outputDims)
69 {
70// DimType dimType = table.layout()->findDimType(s);
71 Dimension::Id id = table.layout()->findDim(s);
72 if (id == Dimension::Id::Unknown)
73 throwError("Invalid dimension '" + s + "' specified for "
74 "'output_dims' option.");
75 m_dims.push_back(id);
76 }
77 }
78}
79
80
81void MatlabWriter::ready(PointTableRef table)

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
findDimMethod · 0.45

Tested by

no test coverage detected