PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ wkt_parser_coord_4()

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

Definition at line 238 of file lwin_wkt.c.

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

Referenced by yyparse().

239 {
240  POINT p;
241  p.flags = 0;
242  p.x = c1;
243  p.y = c2;
244  p.z = c3;
245  p.m = c4;
246  FLAGS_SET_Z(p.flags, 1);
247  FLAGS_SET_M(p.flags, 1);
248  return p;
249 }
double x
Definition: lwin_wkt.h:10
double m
Definition: lwin_wkt.h:13
double y
Definition: lwin_wkt.h:11
#define FLAGS_SET_Z(flags, value)
Definition: liblwgeom.h:130
double z
Definition: lwin_wkt.h:12
Definition: lwin_wkt.h:7
uint8_t flags
Definition: lwin_wkt.h:9
#define FLAGS_SET_M(flags, value)
Definition: liblwgeom.h:131
Here is the caller graph for this function: