PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ getEdgeWithinBox2D

LWT_ISO_EDGE*(* LWT_BE_CALLBACKS_T::getEdgeWithinBox2D) (const LWT_BE_TOPOLOGY *topo, const GBOX *box, int *numelems, int fields, int limit)

Get edges whose bounding box overlaps a given 2D bounding box.

Parameters
topothe topology to act upon
boxthe query box, to be considered infinite if NULL
numelemsoutput parameter, gets number of elements found if the return is not null, otherwise see
Returns
section for semantic.
Parameters
fieldsfields to be filled in the returned structure, see LWT_COL_EDGE_* macros
limitmax number of edges to return, 0 for no limit, -1 to only check for existence if a matching row.
Returns
an array of edges 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 479 of file liblwgeom_topo.h.