MCPcopy Create free account
hub / github.com/LAStools/LAStools / remove

Method remove

src/lascopcindex.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 };
178
179 bool remove(const LASpoint* point)
180 {
181 finalized = false;
182 I32 cell = cell_from_xyz(point->get_x(), point->get_y(), point->get_z());
183 if (grid[cell] == 0) laserror("internal error in the finalizer. Please report");
184 grid[cell]--;
185 npoints--;
186 finalized = grid[cell] == 0;
187 return true;
188 };
189
190 I32 cell_from_xyz(const F64 x, const F64 y, const F64 z)
191 {

Callers 1

mainFunction · 0.80

Calls 1

laserrorFunction · 0.85

Tested by

no test coverage detected