hole

fun hole(radius: Double): Circle

Because circles are approximated using regular polygons, an interior of a circle may be smaller than you may expect. This method makes creates a polygon which can completely contain the circle of the given radius.

NOTE. There are other reasons that holes may be undersized when using a 3D printer. For more info : http://hydraraptor.blogspot.com/2011/02/polyholes.html


fun hole(radius: Double, sides: Int): Circle