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

◆ ST_PointZ()

Datum ST_PointZ ( PG_FUNCTION_ARGS  )

Definition at line 2243 of file lwgeom_functions_basic.c.

2244{
2245 double x = PG_GETARG_FLOAT8(0);
2246 double y = PG_GETARG_FLOAT8(1);
2247 double z = PG_GETARG_FLOAT8(2);
2248 int srid = PG_GETARG_INT32(3);
2249 LWPOINT *point = lwpoint_make3dz(srid, x, y, z);
2250 GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2251 PG_RETURN_POINTER(result);
2252}
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition cu_print.c:267
LWPOINT * lwpoint_make3dz(int32_t srid, double x, double y, double z)
Definition lwpoint.c:173

References lwpoint_make3dz(), and result.

Here is the call graph for this function: