PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwt_be_ExistsCoincidentNode()

LWT_ELEMID lwt_be_ExistsCoincidentNode ( LWT_TOPOLOGY topo,
const LWPOINT pt 
)

Definition at line 379 of file lwgeom_topo.c.

380 {
381  uint64_t exists = 0;
382  lwt_be_getNodeWithinDistance2D(topo, pt, 0, &exists, 0, -1);
383  if (exists == UINT64_MAX)
384  {
385  PGTOPO_BE_ERROR();
386  return 0;
387  }
388  return exists;
389 }
#define PGTOPO_BE_ERROR()
LWT_ISO_NODE * lwt_be_getNodeWithinDistance2D(LWT_TOPOLOGY *topo, const LWPOINT *pt, double dist, uint64_t *numelems, int fields, int64_t limit)
Definition: lwgeom_topo.c:156

References lwt_be_getNodeWithinDistance2D(), and PGTOPO_BE_ERROR.

Referenced by _lwt_AddIsoNode(), _lwt_EdgeSplit(), and lwt_MoveIsoNode().

Here is the call graph for this function:
Here is the caller graph for this function: