Here is the problem: I have a geometric mesh which contains a number of polygons(triangle) to be processed parallelly, thus I need to an efficient method to obtain the polygon data in specific area, ie, given the bounding box{(x_min,y_min,z_min),(x_max,y_max,z_max)}, I need to get a list of polygons that contains all the polygons locates inside (or partly inside) this cubic area. Is it possible?
The bounding box vertex shall locates on a set of uniform cartesian grid. I am not sure whether I made myself clear, the whole idea is somehow like a octree data structure, but I need to store a list of polygons in each node of octree.