PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
LWCOLLECTION* lwgeom_clip_to_ordinate_range | ( | const LWGEOM * | lwin, |
char | ordinate, | ||
double | from, | ||
double | to, | ||
double | offset | ||
) |
Given a geometry clip based on the from/to range of one of its ordinates (x, y, z, m).
Use for m- and z- clipping.
Definition at line 829 of file lwlinearreferencing.c.
References COLLECTIONTYPE, FP_IS_ZERO, LWCOLLECTION::geoms, LINETYPE, lwcollection_add_lwgeom(), lwcollection_as_lwgeom(), lwcollection_clip_to_ordinate_range(), lwcollection_construct_empty(), lwerror(), lwgeom_is_empty(), lwgeom_offsetcurve(), lwline_clip_to_ordinate_range(), lwmpoint_clip_to_ordinate_range(), lwnotice(), lwpoint_clip_to_ordinate_range(), lwpoly_clip_to_ordinate_range(), lwtriangle_clip_to_ordinate_range(), lwtype_name(), MULTILINETYPE, MULTIPOINTTYPE, MULTIPOLYGONTYPE, LWCOLLECTION::ngeoms, POINTTYPE, POLYGONTYPE, POLYHEDRALSURFACETYPE, LWGEOM::srid, TINTYPE, TRIANGLETYPE, LWGEOM::type, LWLINE::type, and ovdump::type.
Referenced by lwcollection_clip_to_ordinate_range(), lwgeom_locate_between(), lwgeom_solid_contains_lwgeom(), ST_LocateBetween(), ST_LocateBetweenElevations(), test_lwline_clip(), test_lwline_clip_big(), test_lwmline_clip(), test_lwpoly_clip(), and test_lwtriangle_clip().