Basic polygon data handling framework