PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ ST_PointZM()

Datum ST_PointZM ( PG_FUNCTION_ARGS  )

Definition at line 2273 of file lwgeom_functions_basic.c.

2274 {
2275  double x = PG_GETARG_FLOAT8(0);
2276  double y = PG_GETARG_FLOAT8(1);
2277  double z = PG_GETARG_FLOAT8(2);
2278  double m = PG_GETARG_FLOAT8(3);
2279  int srid = PG_GETARG_INT32(4);
2280  LWPOINT *point = lwpoint_make4d(srid, x, y, z, m);
2281  GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2282  PG_RETURN_POINTER(result);
2283 }
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: