createRegularPolygon

fun createRegularPolygon(centerX: Double, centerY: Double, radius: Double, gons: Int): XYPolygon

Makes an n-gon, centered at the provided x/y, and each vertex approximately distanceMeters away from the center.

Do not invoke me across the dateline or a pole!!