PostGIS  2.5.0dev-r@@SVN_REVISION@@
void printLWPOLY ( LWPOLY poly)

Definition at line 191 of file lwpoly.c.

References LWPOLY::flags, FLAGS_NDIMS, lwnotice(), LWPOLY::nrings, printPA(), LWPOLY::rings, and LWPOLY::srid.

192 {
193  uint32_t t;
194  lwnotice("LWPOLY {");
195  lwnotice(" ndims = %i", (int)FLAGS_NDIMS(poly->flags));
196  lwnotice(" SRID = %i", (int)poly->srid);
197  lwnotice(" nrings = %i", (int)poly->nrings);
198  for (t=0; t<poly->nrings; t++)
199  {
200  lwnotice(" RING # %i :",t);
201  printPA(poly->rings[t]);
202  }
203  lwnotice("}");
204 }
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:177
uint32_t nrings
Definition: liblwgeom.h:454
unsigned int uint32_t
Definition: uthash.h:78
POINTARRAY ** rings
Definition: liblwgeom.h:456
void printPA(POINTARRAY *pa)
Definition: lwgeom_api.c:496
int32_t srid
Definition: liblwgeom.h:453
uint8_t flags
Definition: liblwgeom.h:451
#define FLAGS_NDIMS(flags)
Definition: liblwgeom.h:151

Here is the call graph for this function: