PostGIS
3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
◆
ST_PointM()
Datum ST_PointM
(
PG_FUNCTION_ARGS
)
Definition at line
2255
of file
lwgeom_functions_basic.c
.
2256
{
2257
double
x
= PG_GETARG_FLOAT8(0);
2258
double
y
= PG_GETARG_FLOAT8(1);
2259
double
m = PG_GETARG_FLOAT8(2);
2260
int
srid = PG_GETARG_INT32(3);
2261
LWPOINT
*point =
lwpoint_make3dm
(srid, x, y, m);
2262
GSERIALIZED
*
result
= geometry_serialize((
LWGEOM
*)point);
2263
PG_RETURN_POINTER(
result
);
2264
}
result
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition
cu_print.c:267
lwpoint_make3dm
LWPOINT * lwpoint_make3dm(int32_t srid, double x, double y, double m)
Definition
lwpoint.c:184
pixval.y
y
Definition
pixval.py:58
pixval.x
x
Definition
pixval.py:57
GSERIALIZED
Definition
liblwgeom.h:443
LWGEOM
Definition
liblwgeom.h:457
LWPOINT
Definition
liblwgeom.h:469
References
lwpoint_make3dm()
, and
result
.
Here is the call graph for this function:
postgis
lwgeom_functions_basic.c
Generated by
1.9.8