PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ wkt_parser_coord_4()

POINT wkt_parser_coord_4 ( double  c1,
double  c2,
double  c3,
double  c4 
)

Definition at line 252 of file lwin_wkt.c.

253 {
254  POINT p;
255  p.flags = 0;
256  p.x = c1;
257  p.y = c2;
258  p.z = c3;
259  p.m = c4;
260  FLAGS_SET_Z(p.flags, 1);
261  FLAGS_SET_M(p.flags, 1);
262  return p;
263 }
#define FLAGS_SET_M(flags, value)
Definition: liblwgeom.h:147
#define FLAGS_SET_Z(flags, value)
Definition: liblwgeom.h:146
double y
Definition: lwin_wkt.h:36
double m
Definition: lwin_wkt.h:38
double z
Definition: lwin_wkt.h:37
double x
Definition: lwin_wkt.h:35
uint8_t flags
Definition: lwin_wkt.h:34
Definition: lwin_wkt.h:33

References POINT::flags, FLAGS_SET_M, FLAGS_SET_Z, POINT::m, POINT::x, POINT::y, and POINT::z.