Changes between Initial Version and Version 1 of Ticket #5799, comment 1


Ignore:
Timestamp:
10/17/24 11:49:42 (15 hours ago)
Author:
mdavis

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5799, comment 1

    initial v1  
    11The [https://git.osgeo.org/gitea/postgis/postgis/src/branch/master/postgis/lwgeom_functions_basic.c#L2146 code] clips the Y dimension, but not the X dimension.
     2{{{
     3        /* Clip y-axis to the given bounds */
     4        if (y1 < bbox.ymin) y1 = bbox.ymin;
     5        if (y2 > bbox.ymax) y2 = bbox.ymax;
     6}}}