155 if ( (!lwmline) || (lwmline->
ngeoms < 1) )
return NULL;
161 for ( i = 0; i < lwmline->
ngeoms; i++ )
168 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)
int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
LWMPOINT * lwmpoint_construct_empty(int srid, char hasz, char hasm)
int lwgeom_has_m(const LWGEOM *geom)
Return LW_TRUE if geometry has M ordinates.
static LWMPOINT * lwline_locate_along(const LWLINE *lwline, double m, double offset)