PostGIS  2.1.10dev-r@@SVN_REVISION@@
POINT wkt_parser_coord_4 ( double  c1,
double  c2,
double  c3,
double  c4 
)

Definition at line 225 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().

226 {
227  POINT p;
228  p.flags = 0;
229  p.x = c1;
230  p.y = c2;
231  p.z = c3;
232  p.m = c4;
233  FLAGS_SET_Z(p.flags, 1);
234  FLAGS_SET_M(p.flags, 1);
235  return p;
236 }
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:112
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:113

Here is the caller graph for this function: