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

Method KD3Index

pdal/KDIndex.cpp:164–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162//
163
164KD3Index::KD3Index(const PointView& buf) :
165 m_buf(buf), m_impl(new KD3Impl(m_buf))
166{
167 if (!m_buf.hasDim(Dimension::Id::X))
168 throw pdal_error("KD3Index: point view missing 'X' dimension.");
169 if (!m_buf.hasDim(Dimension::Id::Y))
170 throw pdal_error("KD3Index: point view missing 'Y' dimension.");
171 if (!m_buf.hasDim(Dimension::Id::Z))
172 throw pdal_error("KD3Index: point view missing 'Z' dimension.");
173}
174
175KD3Index::~KD3Index()
176{}

Callers

nothing calls this directly

Calls 1

hasDimMethod · 0.80

Tested by

no test coverage detected