PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwt_LoadLine()

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

Definition at line 7675 of file lwgeom_topo.c.

7676{
7677 LWT_ELEMID* ids;
7678 int nedges;
7679
7680 /* TODO: avoid allocating edge ids */
7681 ids = lwt_AddLine(topo, line, tol, &nedges, max_new_edges);
7682 if ( nedges > 0 ) lwfree(ids);
7683}
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.

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: