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

Function IsLasLazFile

src/mydefs.cpp:497–499  ·  view source on GitHub ↗

checks if given file is a las/laz file

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

HasFileExtFunction · 0.85

Tested by

no test coverage detected