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

Method findDim

io/TextWriter.cpp:148–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146
147
148bool TextWriter::findDim(Dimension::Id id, DimSpec& ds)
149{
150 auto it = std::find_if(m_dims.begin(), m_dims.end(),
151 [id](const DimSpec& tds){ return tds.id == id; });
152 if (it == m_dims.end())
153 return false;
154 ds = *it;
155 return true;
156}
157
158
159void TextWriter::ready(PointTableRef table)

Callers 1

extractDimMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected