[postgis-tickets] r16596 - Fix function comment for lw_arc_center
Sandro Santilli
strk at kbt.io
Tue May 29 01:06:15 PDT 2018
Author: strk
Date: 2018-05-29 01:06:15 -0700 (Tue, 29 May 2018)
New Revision: 16596
Modified:
trunk/liblwgeom/lwalgorithm.c
Log:
Fix function comment for lw_arc_center
Modified: trunk/liblwgeom/lwalgorithm.c
===================================================================
--- trunk/liblwgeom/lwalgorithm.c 2018-05-28 23:45:38 UTC (rev 16595)
+++ trunk/liblwgeom/lwalgorithm.c 2018-05-29 08:06:15 UTC (rev 16596)
@@ -220,8 +220,9 @@
* Determines the center of the circle defined by the three given points.
* In the event the circle is complete, the midpoint of the segment defined
* by the first and second points is returned. If the points are collinear,
-* as determined by equal slopes, then NULL is returned. If the interior
+* as determined by equal slopes, then -1.0 is returned. If the interior
* point is coincident with either end point, they are taken as collinear.
+* For non-collinear cases, arc radious is returned.
*/
double
lw_arc_center(const POINT2D *p1, const POINT2D *p2, const POINT2D *p3, POINT2D *result)
More information about the postgis-tickets
mailing list