Octree structure containing containing a triangular mesh