copy

abstract fun copy(center: Vector2F = this.center, orientation: ComplexF = this.orientation, length: Float = this.length): LineSegment

Returns a copy of this instance with specified properties changed.

Parameters

orientation

the value is expected to be normalized.