PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ getEdgeByFace

LWT_ISO_EDGE*(* LWT_BE_CALLBACKS_T::getEdgeByFace) (const LWT_BE_TOPOLOGY *topo, const LWT_ELEMID *ids, int *numelems, int fields, const GBOX *box)

Get edges that have any of the given faces on the left or right side and optionally whose bounding box overlaps the given one.

Parameters
topothe topology to act upon
idsan array of face identifiers
numelemsinput/output parameter, pass number of face identifiers in the input array, gets number of edges in output array if the return is not null, otherwise see
Returns
section for semantic. TODO: Should be uint64 to match SPI_processed
Parameters
fieldsfields to be filled in the returned structure, see LWT_COL_EDGE_* macros
boxoptional bounding box to further restrict matches, use NULL for no further restriction.
Returns
an array of edges identifiers or NULL in the following cases:
  • no edge found ("numelems" is set to 0)
  • error ("numelems" is set to -1)

Definition at line 662 of file liblwgeom_topo.h.