156 if ((!lwmline) || (lwmline->
ngeoms < 1))
163 for (i = 0; i < lwmline->
ngeoms; i++)
170 for (j = 0; j < along->ngeoms; j++)
int32_t lwgeom_get_srid(const LWGEOM *geom)
Return SRID number.
void lwmpoint_free(LWMPOINT *mpt)
LWGEOM * lwmline_as_lwgeom(const LWMLINE *obj)
int lwgeom_has_z(const LWGEOM *geom)
Return LW_TRUE if geometry has Z ordinates.
LWMPOINT * lwmpoint_add_lwpoint(LWMPOINT *mobj, const LWPOINT *obj)
LWMPOINT * lwmpoint_construct_empty(int32_t srid, char hasz, char hasm)
int lwgeom_has_m(const LWGEOM *geom)
Return LW_TRUE if geometry has M ordinates.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
static LWMPOINT * lwline_locate_along(const LWLINE *lwline, double m, double offset)