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

Method dimName

pdal/PointLayout.cpp:178–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176
177
178std::string PointLayout::dimName(Dimension::Id id) const
179{
180 std::string name = Dimension::name(id);
181 if (!name.empty())
182 return name;
183 for (auto pi = m_propIds.begin();
184 pi != m_propIds.end(); ++pi)
185 if (pi->second == id)
186 return pi->first;
187 return "";
188}
189
190
191bool PointLayout::hasDim(Dimension::Id id) const

Callers 15

preparedMethod · 0.80
extractDimMethod · 0.80
readyMethod · 0.80
preparedMethod · 0.80
extractDimMethod · 0.80
readyMethod · 0.80
writeCSVHeaderMethod · 0.80
inspectMethod · 0.80
preparedMethod · 0.80
inspectMethod · 0.80
loadBpfDimensionsMethod · 0.80
preparedMethod · 0.80

Calls 4

nameFunction · 0.70
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 4

TESTFunction · 0.64
TESTFunction · 0.64
TEST_PFunction · 0.64
checkDimensionFunction · 0.64