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

Definition at line 100 of file lwpoly.c.

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

101 {
102  int t;
103  lwnotice("LWPOLY {");
104  lwnotice(" ndims = %i", (int)FLAGS_NDIMS(poly->flags));
105  lwnotice(" SRID = %i", (int)poly->srid);
106  lwnotice(" nrings = %i", (int)poly->nrings);
107  for (t=0; t<poly->nrings; t++)
108  {
109  lwnotice(" RING # %i :",t);
110  printPA(poly->rings[t]);
111  }
112  lwnotice("}");
113 }
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:54
POINTARRAY ** rings
Definition: liblwgeom.h:413
int nrings
Definition: liblwgeom.h:411
void printPA(POINTARRAY *pa)
Definition: lwgeom_api.c:563
int32_t srid
Definition: liblwgeom.h:410
uint8_t flags
Definition: liblwgeom.h:408
#define FLAGS_NDIMS(flags)
Definition: liblwgeom.h:118

Here is the call graph for this function: