1. A method for generating a three dimensional grid of terrain, comprising the steps: receiving data representing a three-dimensional point cloud; generating a plurality of slices of the data; evaluating the slices using a swarm intelligence algorithm; identifying terrain as a function of the evaluation; and generating a three-dimensional grid of the identified terrain.