Line.flip

Line.flip()[source]

Flip the direction of the line.

Returns:
None

Examples

>>> line = Line([0, 0, 0], [1, 2, 3])
>>> line
Line(Point(x=0.0, y=0.0, z=0.0), Point(x=1.0, y=2.0, z=3.0))
>>> line.flip()
>>> line
Line(Point(x=1.0, y=2.0, z=3.0), Point(x=0.0, y=0.0, z=0.0))