extract function

Extract Quadtree values