point does not return a center of lseg
Started by Kenji Sugitaover 23 years ago2 messagespatches
Point does not return a center of lseg.
Before patch:
=# select point(lseg '((1, 1), (2, 2))');
point
-------------
(-0.5,-0.5)
(1 row)
=#
After patch:
=# select point(lseg '((1, 1), (2, 2))');
point
-----------
(1.5,1.5)
(1 row)
=#