PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ ST_PointZ()

Datum ST_PointZ ( PG_FUNCTION_ARGS  )

Definition at line 2250 of file lwgeom_functions_basic.c.

2251 {
2252  double x = PG_GETARG_FLOAT8(0);
2253  double y = PG_GETARG_FLOAT8(1);
2254  double z = PG_GETARG_FLOAT8(2);
2255  int srid = PG_GETARG_INT32(3);
2256  LWPOINT *point = lwpoint_make3dz(srid, x, y, z);
2257  GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2258  PG_RETURN_POINTER(result);
2259 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:262
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: