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

Method read_point_default

LASlib/src/lasreaderstored.cpp:235–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235BOOL LASreaderStored::read_point_default()
236{
237 if (lasreader)
238 {
239 if (lasreader->read_point())
240 {
241 point = lasreader->point;
242 if (laswriter)
243 {
244 laswriter->write_point(&point);
245 }
246 p_idx++;
247 p_cnt++;
248 return TRUE;
249 }
250 lasreader->close();
251 delete lasreader;
252 lasreader = 0;
253 }
254 if (laswriter)
255 {
256 laswriter->close();
257 delete laswriter;
258 laswriter = 0;
259 }
260 point.zero();
261 return FALSE;
262}
263
264void LASreaderStored::close(BOOL close_stream)
265{

Callers

nothing calls this directly

Calls 3

write_pointMethod · 0.45
closeMethod · 0.45
zeroMethod · 0.45

Tested by

no test coverage detected