]> granicus.if.org Git - postgis/commitdiff
More comments cleanup
authorSandro Santilli <strk@keybit.net>
Thu, 11 Mar 2010 20:50:40 +0000 (20:50 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 11 Mar 2010 20:50:40 +0000 (20:50 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5416 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_geos_split.c

index a52469f2799379664a97f76bf57b130a65daf20e..ccb4543c597184787a71fd5fc39a9f0b3eb63c04 100644 (file)
@@ -58,10 +58,12 @@ lwline_split_by_point(LWLINE* lwline_in, LWPOINT* blade_in)
 
        /* Possible outcomes:
         *
-        *  1. The point is not on the line
-        *      -> Return original geometry (cloned)
+        *  1. The point is not on the line or on the boundary
+        *      -> Return a collection with single element
         *  2. The point is on the line
-        *      -> Return a multiline with all elements
+        *      -> Return a collection 2 elements:
+        *         o start_point - cut_point
+        *         o cut_point - last_point
         */
 
        getPoint2d_p(blade_in->point, 0, &pt);