PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ printLWPOINT()

void printLWPOINT ( LWPOINT point)

Definition at line 224 of file lwpoint.c.

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

225 {
226  lwnotice("LWPOINT {");
227  lwnotice(" ndims = %i", (int)FLAGS_NDIMS(point->flags));
228  lwnotice(" BBOX = %i", FLAGS_GET_BBOX(point->flags) ? 1 : 0 );
229  lwnotice(" SRID = %i", (int)point->srid);
230  printPA(point->point);
231  lwnotice("}");
232 }
void lwnotice(const char *fmt,...)
Write a notice out to the notice handler.
Definition: lwutil.c:177
POINTARRAY * point
Definition: liblwgeom.h:411
#define FLAGS_GET_BBOX(flags)
Definition: liblwgeom.h:142
int32_t srid
Definition: liblwgeom.h:410
uint8_t flags
Definition: liblwgeom.h:408
void printPA(POINTARRAY *pa)
Definition: lwgeom_api.c:472
#define FLAGS_NDIMS(flags)
Definition: liblwgeom.h:152
Here is the call graph for this function: