Efficient Algorithms for Clustering Polygonal Obstacles