Date: Nov 23, 2012 8:33 AM
Author: Francisco Seixas
Subject: 3D points representing cubes to 3D surface?
I have a Nx3 matrix where each row has x,y,z coordinates of points.
The points come from a 3D map and were generating by reading obstacle positions via a laser sensor, which were then approximated to the nearest cube center in a 3D cubic grid. This gives me the coordinates of the center of occupied cubes.
How can I transform these points into cubes that can be visualized in 3D? The cubes have a 1 unit side, so two consecutive cubes may have coordinates (20,20,20) and (20,20,21).