PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_grid()

LWGEOM * lwgeom_grid ( const LWGEOM lwgeom,
gridspec grid 
)

Definition at line 2393 of file lwgeom.c.

2394{
2395 LWGEOM *lwgeom_out = lwgeom_clone_deep(lwgeom);
2396 lwgeom_grid_in_place(lwgeom_out, grid);
2397 return lwgeom_out;
2398}
void lwgeom_grid_in_place(LWGEOM *geom, gridspec *grid)
Definition lwgeom.c:2289
LWGEOM * lwgeom_clone_deep(const LWGEOM *lwgeom)
Deep-clone an LWGEOM object.
Definition lwgeom.c:529

References lwgeom_clone_deep(), and lwgeom_grid_in_place().

Referenced by LWGEOM_snaptogrid(), LWGEOM_snaptogrid_pointoff(), lwgeom_to_text(), and test_grid().

Here is the call graph for this function:
Here is the caller graph for this function: