PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gserialized2_copy_point()

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

Definition at line 531 of file gserialized2.c.

532 {
533  uint8_t dim = 0;
534  out_point->x = dptr[dim++];
535  out_point->y = dptr[dim++];
536 
537  if (G2FLAGS_GET_Z(flags))
538  {
539  out_point->z = dptr[dim++];
540  }
541  if (G2FLAGS_GET_M(flags))
542  {
543  out_point->m = dptr[dim];
544  }
545 }
#define G2FLAGS_GET_Z(gflags)
Definition: gserialized2.h:22
#define G2FLAGS_GET_M(gflags)
Definition: gserialized2.h:23
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 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: