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

Method prepared

io/FauxReader.cpp:72–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70
71
72void FauxReader::prepared(PointTableRef table)
73{
74 if (!m_countArg->set() && m_mode != Mode::Grid)
75 throwError("Argument 'count' needs a value and none was provided.");
76 if (m_numReturns > 10)
77 throwError("Option 'number_of_returns' must be in the range [0,10].");
78
79 if (!(m_mode == Mode::Normal || m_mode == Mode::Uniform))
80 {
81 if (m_seedArg->set())
82 {
83 std::ostringstream out;
84 out << "Option 'seed' not supported with mode '" << m_mode << "'.";
85 throwError(out.str());
86 }
87 }
88}
89
90
91void FauxReader::initialize()

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected