PostGIS  2.5.0beta1dev-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:413
#define FLAGS_GET_BBOX(flags)
Definition: liblwgeom.h:141
int32_t srid
Definition: liblwgeom.h:412
uint8_t flags
Definition: liblwgeom.h:410
void printPA(POINTARRAY *pa)
Definition: lwgeom_api.c:496
#define FLAGS_NDIMS(flags)
Definition: liblwgeom.h:151
Here is the call graph for this function: