PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ ST_PointZ()

Datum ST_PointZ ( PG_FUNCTION_ARGS  )

Definition at line 2249 of file lwgeom_functions_basic.c.

2250 {
2251  double x = PG_GETARG_FLOAT8(0);
2252  double y = PG_GETARG_FLOAT8(1);
2253  double z = PG_GETARG_FLOAT8(2);
2254  int srid = PG_GETARG_INT32(3);
2255  LWPOINT *point = lwpoint_make3dz(srid, x, y, z);
2256  GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2257  PG_RETURN_POINTER(result);
2258 }
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(), result, pixval::x, and pixval::y.

Here is the call graph for this function: