C++ code for triangulating Point Cloud data and displaying it