PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ lwt_be_ExistsEdgeIntersectingPoint()

int lwt_be_ExistsEdgeIntersectingPoint ( LWT_TOPOLOGY topo,
LWPOINT pt 
)

Definition at line 397 of file lwgeom_topo.c.

398 {
399  uint64_t exists = 0;
400  lwt_be_getEdgeWithinDistance2D(topo, pt, 0, &exists, 0, -1);
401  if (exists == UINT64_MAX)
402  {
403  lwerror("Backend error: %s", lwt_be_lastErrorMessage(topo->be_iface));
404  return 0;
405  }
406  return exists;
407 }
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
Definition: lwutil.c:190
const char * lwt_be_lastErrorMessage(const LWT_BE_IFACE *be)
Definition: lwgeom_topo.c:119
LWT_ISO_EDGE * lwt_be_getEdgeWithinDistance2D(LWT_TOPOLOGY *topo, const LWPOINT *pt, double dist, uint64_t *numelems, int fields, int64_t limit)
Definition: lwgeom_topo.c:250
const LWT_BE_IFACE * be_iface

References LWT_TOPOLOGY_T::be_iface, lwerror(), lwt_be_getEdgeWithinDistance2D(), and lwt_be_lastErrorMessage().

Referenced by _lwt_AddIsoNode(), and lwt_MoveIsoNode().

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