PointCloud.cpp
/*
** pointsPerSqUnit
** Output: Returns the number of points per square unit
** calculated based on the las header
*/
pointsPerSqUnit
Output: Returns the number of points per square unit
calculated based on the las header
pointsPerSqUnit Output : Returns the number of points per square unit calculated based on the las header
double PointCloud::pointsPerSqUnit() {
  assert(fileLoaded);
  double x = header.maxX - header.minX;
  double y = header.maxY - header.minY;
  return header.numberOfPoints / (x * y);
}
double PointCloud :: pointsPerSqUnit ( ) { assert ( fileLoaded ) ; double x = header . maxX - header . minX ; double y = header . maxY - header . minY ; return header . numberOfPoints / ( x * y ) ; }
pointsPerSqUnit
Output: Returns the number of points per square unit
calculated based on the las header
pointsPerSqUnit Output : Returns the number of points per square unit calculated based on the las header