Function lvr2::countPointsInFile

Function Documentation

size_t lvr2::countPointsInFile(const boost::filesystem::path &inFile)

Counts the number of points (i.e. number of lines) in the given file.

Parameters:

inFile – An ASCII file containing point cloud data (one point per line)

Returns:

size_t Number of points in file