PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ printLWPOLY()

void printLWPOLY ( LWPOLY poly)
extern

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:440
#define FLAGS_NDIMS(flags)
Definition liblwgeom.h:179
void lwnotice(const char *fmt,...) __attribute__((format(printf
Write a notice out to the notice handler.
POINTARRAY ** rings
Definition liblwgeom.h:519
uint32_t nrings
Definition liblwgeom.h:524
lwflags_t flags
Definition liblwgeom.h:521
int32_t srid
Definition liblwgeom.h:520

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

Here is the call graph for this function: