PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ getEdgeByNode

LWT_ISO_EDGE*(* LWT_BE_CALLBACKS_T::getEdgeByNode) (const LWT_BE_TOPOLOGY *topo, const LWT_ELEMID *ids, int *numelems, int fields)

Get edges that start or end on any of the given node identifiers.

Parameters
topothe topology to act upon
idsan array of node identifiers
numelemsinput/output parameter, pass number of node identifiers in the input array, gets number of edges in output array 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
Returns
an array of edges that are incident to a node or NULL in the following cases:
  • no edge found ("numelems" is set to 0)
  • error ("numelems" is set to -1) (
See also
lastErrorMessage)

Definition at line 499 of file liblwgeom_topo.h.