PostGIS  2.3.7dev-r@@SVN_REVISION@@
GEOSGeometry* make_geos_point ( double  x,
double  y 
)

Definition at line 486 of file liblwgeom/lwgeom_geos.c.

References dumpnode::geom.

Referenced by geos_envelope_surrogate().

487 {
488  GEOSCoordSequence* seq = GEOSCoordSeq_create(1, 2);
489  GEOSGeometry* geom = NULL;
490 
491  if (!seq)
492  return NULL;
493 
494  GEOSCoordSeq_setX(seq, 0, x);
495  GEOSCoordSeq_setY(seq, 0, y);
496 
497  geom = GEOSGeom_createPoint(seq);
498  if (!geom)
499  GEOSCoordSeq_destroy(seq);
500  return geom;
501 }
LWGEOM * geom
tuple x
Definition: pixval.py:53
tuple y
Definition: pixval.py:54

Here is the caller graph for this function: