PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ getEdgeById

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

Get edge by id.

Parameters
topothe topology to act upon
idsan array of element identifiers
numelemsinput/output parameter, pass number of edge 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 or NULL in the following cases:
  • none found ("numelems" is set to 0)
  • error ("numelems" is set to -1)

Definition at line 267 of file liblwgeom_topo.h.