PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwt_LoadLine()

static void lwt_LoadLine ( LWT_TOPOLOGY topo,
LWLINE line,
double  tol 
)
static

Definition at line 7516 of file lwgeom_topo.c.

7517 {
7518  LWT_ELEMID* ids;
7519  int nedges;
7520 
7521  /* TODO: avoid allocating edge ids */
7522  ids = lwt_AddLine(topo, line, tol, &nedges);
7523  if ( nedges > 0 ) lwfree(ids);
7524 }
void lwfree(void *mem)
Definition: lwutil.c:248
LWT_INT64 LWT_ELEMID
Identifier of topology element.
LWT_ELEMID * lwt_AddLine(LWT_TOPOLOGY *topo, LWLINE *line, double tol, int *nedges)
Adds a linestring to the topology.
Definition: lwgeom_topo.c:7498

References lwfree(), and lwt_AddLine().

Referenced by _lwt_LoadGeometryRecursive(), and lwt_LoadPolygon().

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