MutableLineSegment

constructor(center: Vector2F, orientation: ComplexF, length: Float)

Creates a new instance of MutableLineSegment.

Parameters

orientation

the value is expected to be normalized.

Throws

when length is less than zero.


constructor(pointA: Vector2F, pointB: Vector2F)

Creates a new instance of MutableLineSegment.