PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ ST_PointZM()

Datum ST_PointZM ( PG_FUNCTION_ARGS  )

Definition at line 2267 of file lwgeom_functions_basic.c.

2268{
2269 double x = PG_GETARG_FLOAT8(0);
2270 double y = PG_GETARG_FLOAT8(1);
2271 double z = PG_GETARG_FLOAT8(2);
2272 double m = PG_GETARG_FLOAT8(3);
2273 int srid = PG_GETARG_INT32(4);
2274 LWPOINT *point = lwpoint_make4d(srid, x, y, z, m);
2275 GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2276 PG_RETURN_POINTER(result);
2277}
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(), and result.

Here is the call graph for this function: