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

◆ LWGEOM_makepoint3dm()

Datum LWGEOM_makepoint3dm ( PG_FUNCTION_ARGS  )

Definition at line 2281 of file lwgeom_functions_basic.c.

2282{
2283 double x, y, m;
2284 LWPOINT *point;
2286
2287 POSTGIS_DEBUG(2, "LWGEOM_makepoint3dm called.");
2288
2289 x = PG_GETARG_FLOAT8(0);
2290 y = PG_GETARG_FLOAT8(1);
2291 m = PG_GETARG_FLOAT8(2);
2292
2293 point = lwpoint_make3dm(SRID_UNKNOWN, x, y, m);
2294 result = geometry_serialize((LWGEOM *)point);
2295
2296 PG_RETURN_POINTER(result);
2297}
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition cu_print.c:267
LWPOINT * lwpoint_make3dm(int32_t srid, double x, double y, double m)
Definition lwpoint.c:184
#define SRID_UNKNOWN
Unknown SRID value.
Definition liblwgeom.h:215

References lwpoint_make3dm(), result, and SRID_UNKNOWN.

Here is the call graph for this function: