PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwt_LoadLine()

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

Definition at line 7558 of file lwgeom_topo.c.

7559 {
7560  LWT_ELEMID* ids;
7561  int nedges;
7562 
7563  /* TODO: avoid allocating edge ids */
7564  ids = lwt_AddLine(topo, line, tol, &nedges, max_new_edges);
7565  if ( nedges > 0 ) lwfree(ids);
7566 }
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, int max_new_edges)
Adds a linestring to the topology.
Definition: lwgeom_topo.c:7540

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: