PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ lwpoint_grid()

LWPOINT* lwpoint_grid ( const LWPOINT point,
const gridspec grid 

Definition at line 269 of file lwpoint.c.

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

Referenced by lwgeom_grid().

270 {
271  POINTARRAY *opa = ptarray_grid(point->point, grid);
272  return lwpoint_construct(point->srid, NULL, opa);
273 }
Definition: liblwgeom.h:395
LWPOINT * lwpoint_construct(int srid, GBOX *bbox, POINTARRAY *point)
Definition: lwpoint.c:98
int32_t srid
Definition: liblwgeom.h:394
POINTARRAY * ptarray_grid(const POINTARRAY *pa, const gridspec *grid)
Definition: ptarray.c:1843
Here is the call graph for this function:
Here is the caller graph for this function: