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

◆ lwline_free()

void lwline_free ( LWLINE line)
extern

Definition at line 67 of file lwline.c.

68{
69 if ( ! line ) return;
70
71 if ( line->bbox )
72 lwfree(line->bbox);
73 if ( line->points )
74 ptarray_free(line->points);
75 lwfree(line);
76}
void lwfree(void *mem)
Definition lwutil.c:248
void ptarray_free(POINTARRAY *pa)
Definition ptarray.c:327
GBOX * bbox
Definition liblwgeom.h:482
POINTARRAY * points
Definition liblwgeom.h:483

References LWLINE::bbox, lwfree(), LWLINE::points, and ptarray_free().

Referenced by _lwt_FindFaceContainingRing(), _lwt_HealEdges(), _lwt_release_edges(), BOX2D_to_LWGEOM(), BOX3D_to_LWGEOM(), clean_cg_suite(), do_test_lwgeom_effectivearea_lines(), geography_line_substring(), line2pts(), lwcompound_linearize(), lwcurvepoly_linearize(), LWGEOM_addpoint(), LWGEOM_envelope(), lwgeom_free(), LWGEOM_line_from_mpoint(), LWGEOM_makepoly(), LWGEOM_removepoint(), LWGEOM_setpoint_linestring(), lwline_locate_along(), lwline_split_by_mpoint(), lwmline_free(), lwmmpoint_to_encoded_polyline(), lwt_LoadPolygon(), path_to_geometry(), test_geohash(), test_lw_dist2d_pt_ptarrayarc(), test_lw_dist2d_ptarray_ptarrayarc(), test_lwline_crossing_bugs(), test_lwline_crossing_long_lines(), test_lwline_from_lwmpoint(), test_lwline_interpolate_point_3d(), test_lwline_split_by_point_to(), test_ptarray_append_point(), test_ptarray_append_ptarray(), test_ptarray_closest_segment_2d(), test_ptarray_closest_vertex_2d(), test_ptarray_contains_point(), test_ptarray_insert_point(), test_ptarray_isccw(), test_ptarray_locate_point(), test_ptarray_scale(), test_ptarray_scroll(), test_ptarray_signed_area(), test_tree_circ_create(), test_tree_circ_pip(), and test_trim_bits().

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