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

◆ gserialized1_copy_point()

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

Definition at line 475 of file gserialized1.c.

476{
477 uint8_t dim = 0;
478 out_point->x = dptr[dim++];
479 out_point->y = dptr[dim++];
480
481 if (G1FLAGS_GET_Z(flags))
482 {
483 out_point->z = dptr[dim++];
484 }
485 if (G1FLAGS_GET_M(flags))
486 {
487 out_point->m = dptr[dim];
488 }
489}
#define G1FLAGS_GET_M(gflags)
#define G1FLAGS_GET_Z(gflags)
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 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: