shift Method

shift (translate) the segment along its axis by adding dx to both x0 and x1.

shift(dx: number): void

Parameter Type Description
dx number value to add to both x0 and x1

Defined in

Last Updated: 08 January, 2020