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) )' ) ;