check for same geometry composition
Definition at line 279 of file lwcollection.c.
280{
281 uint32_t i;
282
283 LWDEBUG(2,
"lwcollection_same called");
284
285 if ( c1->type != c2->type )
return LW_FALSE;
286 if ( c1->ngeoms != c2->ngeoms )
return LW_FALSE;
287
288 for ( i = 0; i < c1->ngeoms; i++ )
289 {
292 }
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
317}
char lwgeom_same(const LWGEOM *lwgeom1, const LWGEOM *lwgeom2)
geom1 same as geom2 iff
#define LW_TRUE
Return types for functions with status returns.
#define LWDEBUG(level, msg)
References LWCOLLECTION::geoms, LW_FALSE, LW_TRUE, LWDEBUG, lwgeom_same(), LWCOLLECTION::ngeoms, and LWCOLLECTION::type.
Referenced by lwgeom_same().