PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ gserialized2_copy_point()

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

Definition at line 533 of file gserialized2.c.

534 {
535  uint8_t dim = 0;
536  out_point->x = dptr[dim++];
537  out_point->y = dptr[dim++];
538 
539  if (G2FLAGS_GET_Z(flags))
540  {
541  out_point->z = dptr[dim++];
542  }
543  if (G2FLAGS_GET_M(flags))
544  {
545  out_point->m = dptr[dim];
546  }
547 }
#define G2FLAGS_GET_Z(gflags)
Definition: gserialized2.h:22
#define G2FLAGS_GET_M(gflags)
Definition: gserialized2.h:23
double m
Definition: liblwgeom.h:414
double x
Definition: liblwgeom.h:414
double z
Definition: liblwgeom.h:414
double y
Definition: liblwgeom.h:414

References G2FLAGS_GET_M, G2FLAGS_GET_Z, POINT4D::m, POINT4D::x, POINT4D::y, and POINT4D::z.

Referenced by gserialized2_peek_first_point().

Here is the caller graph for this function: