postgrespro / pgsphere

PgSphere provides spherical data types, functions, operators, and indexing for PostgreSQL.
https://pgsphere.org
BSD 3-Clause "New" or "Revised" License
16 stars 15 forks source link

Add sbox_deg() function -- not necessary! #94

Closed esabol closed 8 months ago

esabol commented 8 months ago

Awhile back, the spoint_deg(), scircle_deg(), sploy_deg() functions were added for convenience with arguments in degrees (instead of radians), but sbox_deg() was not added at the time. We have a use-case for it, so I would like to add it.

esabol commented 8 months ago

Oh, never mind. I should have looked at the source code first. sbox() takes spoints as arguments, not float8s, so this is unnecessary.