inscribed

fun Ellipse.inscribed(sides: Int, rotation: Measure<Angle> = 0 * degrees): ConvexPolygon?

Creates a Regular polygon by inscribing it within the ellipse.

Return

the polygon

Parameters

sides

the polygon should have

rotation

of the polygon's first point around the ellipse