Added PurgeLayer
Added GetEdgeCurves