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