PostGIS  2.1.10dev-r@@SVN_REVISION@@
void printLWPOINT ( LWPOINT point)

Definition at line 191 of file lwpoint.c.

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

192 {
193  lwnotice("LWPOINT {");
194  lwnotice(" ndims = %i", (int)FLAGS_NDIMS(point->flags));
195  lwnotice(" BBOX = %i", FLAGS_GET_BBOX(point->flags) ? 1 : 0 );
196  lwnotice(" SRID = %i", (int)point->srid);
197  printPA(point->point);
198  lwnotice("}");
199 }
POINTARRAY * point
Definition: liblwgeom.h:367
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:54
#define FLAGS_GET_BBOX(flags)
Definition: liblwgeom.h:108
int32_t srid
Definition: liblwgeom.h:366
uint8_t flags
Definition: liblwgeom.h:364
void printPA(POINTARRAY *pa)
Definition: lwgeom_api.c:563
#define FLAGS_NDIMS(flags)
Definition: liblwgeom.h:118

Here is the call graph for this function: