]> granicus.if.org Git - postgis/commit
Inline 2D squared distance.
authorDarafei Praliaskouski <me@komzpa.net>
Thu, 6 Sep 2018 18:16:18 +0000 (18:16 +0000)
committerDarafei Praliaskouski <me@komzpa.net>
Thu, 6 Sep 2018 18:16:18 +0000 (18:16 +0000)
commit5eb3014e6c550b127f1484a7e2226bfcf0970ecc
treea81cef430a6923a244eff27ff1006f9505d122c0
parent62ee0569176c26d89bec60e772948d0eb3f0f82c
Inline 2D squared distance.

This allows loops with distance2d_sqr_pt_pt to be optimized better.

Closes https://github.com/postgis/postgis/pull/290

git-svn-id: http://svn.osgeo.org/postgis/trunk@16715 b70326c6-7e19-0410-871a-916f4a2858ee
liblwgeom/liblwgeom.h.in
liblwgeom/measures.c