PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ printLWPOINT()

void printLWPOINT ( LWPOINT point)

Definition at line 193 of file lwpoint.c.

References LWPOINT::flags, FLAGS_GET_BBOX, FLAGS_NDIMS, lwnotice(), LWPOINT::point, printPA(), and LWPOINT::srid.

194 {
195  lwnotice("LWPOINT {");
196  lwnotice(" ndims = %i", (int)FLAGS_NDIMS(point->flags));
197  lwnotice(" BBOX = %i", FLAGS_GET_BBOX(point->flags) ? 1 : 0 );
198  lwnotice(" SRID = %i", (int)point->srid);
199  printPA(point->point);
200  lwnotice("}");
201 }
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:61
POINTARRAY * point
Definition: liblwgeom.h:395
#define FLAGS_GET_BBOX(flags)
Definition: liblwgeom.h:126
int32_t srid
Definition: liblwgeom.h:394
uint8_t flags
Definition: liblwgeom.h:392
void printPA(POINTARRAY *pa)
Definition: lwgeom_api.c:598
#define FLAGS_NDIMS(flags)
Definition: liblwgeom.h:136
Here is the call graph for this function: