Get faces whose bounding box overlaps a given 2D bounding box.
- Parameters
-
topo | the topology to act upon |
box | the query box |
numelems | output parameter, gets number of elements found if the return is not null, otherwise see |
- Returns
- section for semantic. TODO: Should be uint64 to match SPI_processed
- Parameters
-
fields | fields to be filled in the returned structure, see LWT_COL_FACE_* macros |
limit | max number of faces to return, 0 for no limit, -1 to only check for existence if a matching row. |
- Returns
- an array of faces or null in the following cases:
- limit=-1 ("numelems" is set to 1 if found, 0 otherwise)
- limit>0 and no records found ("numelems" is set to 0)
- error ("numelems" is set to -1)
Definition at line 875 of file liblwgeom_topo.h.