PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
LWCOLLECTION* lwmline_clip_to_ordinate_range | ( | const LWMLINE * | mline, |
char | ordinate, | ||
double | from, | ||
double | to | ||
) |
Clip an input MULTILINESTRING between two values, on any ordinate input.
Clip a multi-line based on the from/to range of one of its ordinates.
Definition at line 468 of file lwlinearreferencing.c.
References LWCOLLECTION::bbox, COLLECTIONTYPE, LWCOLLECTION::flags, FLAGS_SET_M, FLAGS_SET_Z, LWMLINE::geoms, LWCOLLECTION::geoms, lwalloc(), lwcollection_construct_empty(), lwerror(), lwfree(), lwgeom_has_m(), lwgeom_has_z(), lwgeom_refresh_bbox(), lwline_clip_to_ordinate_range(), lwmline_as_lwgeom(), lwrealloc(), MULTILINETYPE, LWMLINE::ngeoms, LWCOLLECTION::ngeoms, LWMLINE::srid, LWMLINE::type, and LWCOLLECTION::type.
Referenced by lwgeom_clip_to_ordinate_range(), and test_lwmline_clip().