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

Function IsLasLazFile

LASzip/src/mydefs.cpp:493–495  ·  view source on GitHub ↗

checks if given file is a las/laz file

Source from the content-addressed store, hash-verified

491
492// checks if given file is a las/laz file
493bool IsLasLazFile(std::string fn) {
494 return HasFileExt(fn, "las") || HasFileExt(fn, "laz");
495}
496
497/// returns TRUE if 'val' is found in 'vec'
498bool StringInVector(const std::string& val, const std::vector<std::string>& vec, bool casesense) {

Callers 5

runMethod · 0.85
is_header_populatedMethod · 0.85
openMethod · 0.85
reopenMethod · 0.85
add_file_nameMethod · 0.85

Calls 1

HasFileExtFunction · 0.85

Tested by

no test coverage detected