Skip to content

Commit

Permalink
Update SurfaceInterpolation.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gehilley committed Nov 7, 2019
1 parent 4b2b100 commit 866977a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libmcc_lidar/SurfaceInterpolation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,11 @@ namespace mcc
splineComputed = true;
std::vector<Cell> cells = region->cells();

std::cout << "starting interpolation for cells." << std::endl;
for(std::vector<Cell>::size_type i = 0; i < cells.size(); i++) {
std::cout << "cell: " << i << " started..."
(*rasterSurface_)[cells[i]] = spline.interpolateHeight(cells[i].x(), cells[i].y());
std::cout << " done." << endl;
}

std::cout << "computed spline." << std::endl;
Expand Down

0 comments on commit 866977a

Please sign in to comment.