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

Definition at line 171 of file lwpoly.c.

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

172 {
173  int t;
174  lwnotice("LWPOLY {");
175  lwnotice(" ndims = %i", (int)FLAGS_NDIMS(poly->flags));
176  lwnotice(" SRID = %i", (int)poly->srid);
177  lwnotice(" nrings = %i", (int)poly->nrings);
178  for (t=0; t<poly->nrings; t++)
179  {
180  lwnotice(" RING # %i :",t);
181  printPA(poly->rings[t]);
182  }
183  lwnotice("}");
184 }
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:89
POINTARRAY ** rings
Definition: liblwgeom.h:456
int nrings
Definition: liblwgeom.h:454
void printPA(POINTARRAY *pa)
Definition: lwgeom_api.c:611
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: