PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ printLWPOLY()

void printLWPOLY ( LWPOLY poly)

Definition at line 193 of file lwpoly.c.

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

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

Here is the call graph for this function: