PostGIS  3.2.2dev-r@@SVN_REVISION@@

◆ ST_PointZM()

Datum ST_PointZM ( PG_FUNCTION_ARGS  )

Definition at line 2271 of file lwgeom_functions_basic.c.

2272 {
2273  double x = PG_GETARG_FLOAT8(0);
2274  double y = PG_GETARG_FLOAT8(1);
2275  double z = PG_GETARG_FLOAT8(2);
2276  double m = PG_GETARG_FLOAT8(3);
2277  int srid = PG_GETARG_INT32(4);
2278  LWPOINT *point = lwpoint_make4d(srid, x, y, z, m);
2279  GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2280  PG_RETURN_POINTER(result);
2281 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:267
LWPOINT * lwpoint_make4d(int32_t srid, double x, double y, double z, double m)
Definition: lwpoint.c:195

References lwpoint_make4d(), result, pixval::x, and pixval::y.

Here is the call graph for this function: