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

Method read_point_default

LASlib/src/lasreaderbuffered.cpp:465–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465BOOL LASreaderBuffered::read_point_default()
466{
467 while (true)
468 {
469 if (lasreader->read_point())
470 {
471 point = lasreader->point;
472 p_idx++;
473 p_cnt++;
474 return TRUE;
475 }
476 else if (point_count < buffered_points)
477 {
478 copy_point_from_buffer();
479 p_idx++;
480 p_cnt++;
481 return TRUE;
482 }
483 lasreader->close();
484 point.zero();
485 return FALSE;
486 }
487}
488
489void LASreaderBuffered::close(BOOL close_stream)
490{

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
zeroMethod · 0.45

Tested by

no test coverage detected