PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized1_copy_point()

static void gserialized1_copy_point ( double *  dptr,
lwflags_t  flags,
POINT4D out_point 
)
inlinestatic

Definition at line 474 of file gserialized1.c.

475 {
476  uint8_t dim = 0;
477  out_point->x = dptr[dim++];
478  out_point->y = dptr[dim++];
479 
480  if (G1FLAGS_GET_Z(flags))
481  {
482  out_point->z = dptr[dim++];
483  }
484  if (G1FLAGS_GET_M(flags))
485  {
486  out_point->m = dptr[dim];
487  }
488 }
#define G1FLAGS_GET_M(gflags)
Definition: gserialized1.h:17
#define G1FLAGS_GET_Z(gflags)
Definition: gserialized1.h:16
double m
Definition: liblwgeom.h:400
double x
Definition: liblwgeom.h:400
double z
Definition: liblwgeom.h:400
double y
Definition: liblwgeom.h:400

References G1FLAGS_GET_M, G1FLAGS_GET_Z, POINT4D::m, POINT4D::x, POINT4D::y, and POINT4D::z.

Referenced by gserialized1_peek_first_point().

Here is the caller graph for this function: