Some computational geometry related data structures and their application.