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 spoly(spoint[]) constructor function #99

Closed vitcpp closed 7 months ago

vitcpp commented 8 months ago

After merge of #96, I will update the docs.

vitcpp commented 8 months ago

Rebased, fixed problems after the review. The second commit will be squashed after completing the review.

vitcpp commented 8 months ago

I updated the doc with the simple description of spoly and spoly_deg function. I used another approach to describe the functions to demonstrate some other approaches to describe functions. I didn't use funcsynopsis which is not suitable for describing SQL functions (funcsynopsis is for languages like C).