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

Method flushSamples

filters/private/hexer/BaseGrid.cpp:57–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void BaseGrid::flushSamples()
58{
59 if (m_sample.empty())
60 throw hexer_error("Can't determine hex size - no points.");
61
62 double height = computeHexSize();
63 processHeight(height);
64 for (Point p : m_sample) {
65 addPoint(p);
66 }
67 m_sample.clear();
68}
69
70void BaseGrid::handleSamplePoint(Point& p)
71{

Callers 1

createGridMethod · 0.80

Calls 4

hexer_errorClass · 0.85
addPointFunction · 0.85
emptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected