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

◆ ST_PointZM()

Datum ST_PointZM ( PG_FUNCTION_ARGS  )

Definition at line 2240 of file lwgeom_functions_basic.c.

2241{
2242 double x = PG_GETARG_FLOAT8(0);
2243 double y = PG_GETARG_FLOAT8(1);
2244 double z = PG_GETARG_FLOAT8(2);
2245 double m = PG_GETARG_FLOAT8(3);
2246 int srid = PG_GETARG_INT32(4);
2247 LWPOINT *point = lwpoint_make4d(srid, x, y, z, m);
2248 GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2249 PG_RETURN_POINTER(result);
2250}
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: