PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ ST_PointM()

Datum ST_PointM ( PG_FUNCTION_ARGS  )

Definition at line 2262 of file lwgeom_functions_basic.c.

2263 {
2264  double x = PG_GETARG_FLOAT8(0);
2265  double y = PG_GETARG_FLOAT8(1);
2266  double m = PG_GETARG_FLOAT8(2);
2267  int srid = PG_GETARG_INT32(3);
2268  LWPOINT *point = lwpoint_make3dm(srid, x, y, m);
2269  GSERIALIZED *result = geometry_serialize((LWGEOM *)point);
2270  PG_RETURN_POINTER(result);
2271 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:262
LWPOINT * lwpoint_make3dm(int32_t srid, double x, double y, double m)
Definition: lwpoint.c:184

References lwpoint_make3dm(), result, pixval::x, and pixval::y.

Here is the call graph for this function: