From 20b7927b7f724636bf7d09ae16c57d5f72c9cc23 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 9 Jun 2015 09:59:17 +0000 Subject: [PATCH] Update in-header documentation for lwgeom_split git-svn-id: http://svn.osgeo.org/postgis/trunk@13626 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/liblwgeom.h.in | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/liblwgeom/liblwgeom.h.in b/liblwgeom/liblwgeom.h.in index 212256a65..645be8af6 100644 --- a/liblwgeom/liblwgeom.h.in +++ b/liblwgeom/liblwgeom.h.in @@ -2135,15 +2135,11 @@ LWGEOM* lwgeom_buildarea(const LWGEOM *geom) ; LWGEOM* lwgeom_make_valid(LWGEOM* geom); /* - * Split polygon by line, line by line, line by point. + * Split (multi)polygon by line; (multi)line by (multi)line, + * (multi)point or (multi)polygon boundary. * - * Returns all components as a collection. - * First element of the collection is always the part which - * remains after the cut, while the second element is the - * part which has been cut out. We arbitrarely take the part - * on the *right* of cut lines as the part which has been cut out. - * For a line cut by a point the part which remains is the one - * from start of the line to the cut point. + * Collections are accepted as first argument. + * Returns all obtained pieces as a collection. */ LWGEOM* lwgeom_split(const LWGEOM* lwgeom_in, const LWGEOM* blade_in); -- 2.40.0