PostGIS
3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches
◆
ST_Point()
Datum ST_Point
(
PG_FUNCTION_ARGS
)
Definition at line
2232
of file
lwgeom_functions_basic.c
.
2233
{
2234
double
x
= PG_GETARG_FLOAT8(0);
2235
double
y
= PG_GETARG_FLOAT8(1);
2236
int
srid = PG_GETARG_INT32(2);
2237
LWPOINT
*point =
lwpoint_make2d
(srid, x, y);
2238
GSERIALIZED
*
result
= geometry_serialize((
LWGEOM
*)point);
2239
PG_RETURN_POINTER(
result
);
2240
}
result
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition
cu_print.c:267
lwpoint_make2d
LWPOINT * lwpoint_make2d(int32_t srid, double x, double y)
Definition
lwpoint.c:163
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_make2d()
, and
result
.
Here is the call graph for this function:
postgis
lwgeom_functions_basic.c
Generated by
1.9.8