PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwt_be_ExistsEdgeIntersectingPoint()

LWT_ELEMID lwt_be_ExistsEdgeIntersectingPoint ( LWT_TOPOLOGY topo,
const LWPOINT pt 
)

Definition at line 392 of file lwgeom_topo.c.

393 {
394  uint64_t exists = 0;
395  lwt_be_getEdgeWithinDistance2D(topo, pt, 0, &exists, 0, -1);
396  if (exists == UINT64_MAX)
397  {
398  PGTOPO_BE_ERROR();
399  return 0;
400  }
401  return exists;
402 }
#define PGTOPO_BE_ERROR()
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:245

References lwt_be_getEdgeWithinDistance2D(), and PGTOPO_BE_ERROR.

Referenced by _lwt_AddIsoNode(), and lwt_MoveIsoNode().

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