PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ ST_PointZM()

Datum ST_PointZM ( PG_FUNCTION_ARGS  )

Definition at line 2274 of file lwgeom_functions_basic.c.

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