mmcs-ruby / primitives

MIT License
2 stars 6 forks source link

Implement InscribedRegularPolygon #14

Open koenigsley opened 3 years ago

koenigsley commented 3 years ago

In programming way we are able to implement Boolean operations for polygons only. Circle is not a polygon, but we can find a regular polygon which will be inscribed in this circle. This inscribed polygon will emulate the circle with the given percision (percision is a central angle which will be used to calculate the amount of polygon`s sides).