5.8. Change the direction
Prev | Up | Chapter 5. Operators | Home | Next

## 5.8. Change the direction #

The unary operator `-` changes the direction of `sline` or `spath` objects. You can use it with an Euler transformation object in the figurative sense, too (Section 5.10).

Example 5.14. Swap begin and end of a `sline`

    sql> SELECT - sline (spoint '(0d,0d)', spoint '(10d,0d)');

Prev | Up | Next
5.7. Center | Home | 5.9. Turn the path of a line