copy

open override fun copy(center: Vector2F, orientation: ComplexF, length: Float): MutableLineSegment

Returns a copy of this instance with specified properties changed.

Parameters

orientation

the value is expected to be normalized.

Throws

when length is less than zero.