PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ gserialized2_copy_point()

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

Definition at line 564 of file gserialized2.c.

565{
566 uint8_t dim = 0;
567 out_point->x = dptr[dim++];
568 out_point->y = dptr[dim++];
569
570 if (G2FLAGS_GET_Z(flags))
571 {
572 out_point->z = dptr[dim++];
573 }
574 if (G2FLAGS_GET_M(flags))
575 {
576 out_point->m = dptr[dim];
577 }
578}
#define G2FLAGS_GET_Z(gflags)
#define G2FLAGS_GET_M(gflags)
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: