From: Sandro Santilli Date: Thu, 11 Mar 2010 20:50:40 +0000 (+0000) Subject: More comments cleanup X-Git-Tag: 2.0.0alpha1~3120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75a5c4542696631dc1d173d739b7ee91bd20e6d5;p=postgis More comments cleanup git-svn-id: http://svn.osgeo.org/postgis/trunk@5416 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/lwgeom_geos_split.c b/postgis/lwgeom_geos_split.c index a52469f27..ccb4543c5 100644 --- a/postgis/lwgeom_geos_split.c +++ b/postgis/lwgeom_geos_split.c @@ -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);