[postgis-tickets] r17617 - lwcompound_stroke: Remove unused function

Raul raul at rmr.ninja
Fri Jul 19 07:21:01 PDT 2019


Author: algunenano
Date: 2019-07-19 07:21:01 -0700 (Fri, 19 Jul 2019)
New Revision: 17617

Modified:
   trunk/liblwgeom/liblwgeom_internal.h
   trunk/liblwgeom/lwstroke.c
Log:
lwcompound_stroke: Remove unused function
 


Modified: trunk/liblwgeom/liblwgeom_internal.h
===================================================================
--- trunk/liblwgeom/liblwgeom_internal.h	2019-07-19 13:02:56 UTC (rev 17616)
+++ trunk/liblwgeom/liblwgeom_internal.h	2019-07-19 14:21:01 UTC (rev 17617)
@@ -301,7 +301,6 @@
 /*
 * Segmentization
 */
-LWLINE *lwcompound_stroke(const LWCOMPOUND *icompound, uint32_t perQuad);
 LWPOLY *lwcurvepoly_stroke(const LWCURVEPOLY *curvepoly, uint32_t perQuad);
 
 /*

Modified: trunk/liblwgeom/lwstroke.c
===================================================================
--- trunk/liblwgeom/lwstroke.c	2019-07-19 13:02:56 UTC (rev 17616)
+++ trunk/liblwgeom/lwstroke.c	2019-07-19 14:21:01 UTC (rev 17617)
@@ -587,14 +587,7 @@
 	return lwline_construct(icompound->srid, NULL, ptarray_out);
 }
 
-/* Kept for backward compatibility - TODO: drop */
-LWLINE *
-lwcompound_stroke(const LWCOMPOUND *icompound, uint32_t perQuad)
-{
-		return lwcompound_linearize(icompound, perQuad, LW_LINEARIZE_TOLERANCE_TYPE_SEGS_PER_QUAD, 0);
-}
 
-
 /*
  * @param icompound input curve polygon
  * @param tol tolerance, semantic driven by tolerance_type



More information about the postgis-tickets mailing list