set

fun set(center: Vector2F = this.center, orientation: ComplexF = this.orientation, sideLength: Float = this.sideLength, sideCount: Int = this.sideCount)

Sets the specified properties of this instance.

Parameters

orientation

the value is expected to be normalized.

Throws

when sideCount is less than two.