PostGIS  2.3.6-r@@SVN_REVISION@@
LWPOINT* lwpoint_grid ( const LWPOINT point,
const gridspec grid 
)

Definition at line 282 of file lwpoint.c.

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

Referenced by lwgeom_grid().

283 {
284  POINTARRAY *opa = ptarray_grid(point->point, grid);
285  return lwpoint_construct(point->srid, NULL, opa);
286 }
POINTARRAY * point
Definition: liblwgeom.h:410
LWPOINT * lwpoint_construct(int srid, GBOX *bbox, POINTARRAY *point)
Definition: lwpoint.c:111
int32_t srid
Definition: liblwgeom.h:409
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: