PostGIS  2.1.10dev-r@@SVN_REVISION@@
Datum LWGEOM_makepoint3dm ( PG_FUNCTION_ARGS  )

Definition at line 2174 of file lwgeom_functions_basic.c.

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

2175 {
2176  double x,y,m;
2177  LWPOINT *point;
2179 
2180  POSTGIS_DEBUG(2, "LWGEOM_makepoint3dm called.");
2181 
2182  x = PG_GETARG_FLOAT8(0);
2183  y = PG_GETARG_FLOAT8(1);
2184  m = PG_GETARG_FLOAT8(2);
2185 
2186  point = lwpoint_make3dm(SRID_UNKNOWN, x, y, m);
2187  result = geometry_serialize((LWGEOM *)point);
2188 
2189  PG_RETURN_POINTER(result);
2190 }
char ** result
Definition: liblwgeom.h:218
LWPOINT * lwpoint_make3dm(int srid, double x, double y, double m)
Definition: lwpoint.c:151
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:154
tuple x
Definition: pixval.py:53
GSERIALIZED * geometry_serialize(LWGEOM *lwgeom)
tuple y
Definition: pixval.py:54

Here is the call graph for this function: