6.9. `sbox` functions
Prev | Up | Chapter 6. Functions | Home | Next

## 6.9. `sbox` functions #

The functions

`sw(` | box`)`; |

`sbox box`;

`ne(` | box`)`; |

`sbox box`;

`se(` | box`)`; |

`sbox box`;

`nw(` | box`)`; |

`sbox box`;

return the corresponding southwest, northeast, southeast, or northwest edge. The returned value will be a spherical point.

Example 6.21. The southwest edge of a box

    sql> SELECT sw ( sbox '( (0d,0d), (90d,0d) )' ) ;

Prev | Up | Next
6.8. `spoly` functions | Home | 6.10. `smoc` functions