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

Method open

src/lascopcindex.cpp:578–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576 };
577
578 void open(const char* mode)
579 {
580 if (fp == 0)
581 {
582 fp = LASfopen(filename_points, mode);
583 if (fp == 0)
584 {
585 laserror("cannot open file '%s': %s", filename_points, strerror(errno));
586 }
587 fseek_las(fp, 0, SEEK_END);
588 num_connexions++;
589 }
590 }
591
592 void close(bool force = false)
593 {

Callers

nothing calls this directly

Calls 3

LASfopenFunction · 0.85
laserrorFunction · 0.85
fseek_lasFunction · 0.85

Tested by

no test coverage detected