PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwpoint_grid()

LWPOINT* lwpoint_grid ( const LWPOINT point,
const gridspec grid 
)

Definition at line 300 of file lwpoint.c.

References lwpoint_construct(), LWPOINT::point, ptarray_grid(), and LWPOINT::srid.

Referenced by lwgeom_grid().

301 {
302  POINTARRAY *opa = ptarray_grid(point->point, grid);
303  return lwpoint_construct(point->srid, NULL, opa);
304 }
POINTARRAY * point
Definition: liblwgeom.h:411
LWPOINT * lwpoint_construct(int srid, GBOX *bbox, POINTARRAY *point)
Definition: lwpoint.c:129
int32_t srid
Definition: liblwgeom.h:410
POINTARRAY * ptarray_grid(const POINTARRAY *pa, const gridspec *grid)
Definition: ptarray.c:1890
Here is the call graph for this function:
Here is the caller graph for this function: