PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ lwline_free()

void lwline_free ( LWLINE line)

Definition at line 63 of file lwline.c.

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

Referenced by _lwt_HealEdges(), _lwt_release_edges(), BOX2D_to_LWGEOM(), clean_cg_suite(), do_test_lwgeom_effectivearea_lines(), line2pts(), lwcompound_stroke(), lwcurvepoly_stroke(), 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_AddPoint(), lwt_AddPolygon(), path_to_geometry(), RTreeFree(), test_geohash(), test_lw_dist2d_pt_ptarrayarc(), test_lw_dist2d_ptarray_ptarrayarc(), test_lwline_clip(), test_lwline_clip_big(), test_lwline_crossing_bugs(), test_lwline_crossing_long_lines(), test_lwline_from_lwmpoint(), test_lwline_split_by_point_to(), test_lwmline_clip(), test_ptarray_append_point(), test_ptarray_append_ptarray(), test_ptarray_contains_point(), test_ptarray_insert_point(), test_ptarray_isccw(), test_ptarray_locate_point(), test_ptarray_scale(), test_ptarray_signed_area(), test_ptarrayarc_contains_point(), test_tree_circ_create(), and test_tree_circ_pip().

64 {
65  if ( ! line ) return;
66 
67  if ( line->bbox )
68  lwfree(line->bbox);
69  if ( line->points )
70  ptarray_free(line->points);
71  lwfree(line);
72 }
GBOX * bbox
Definition: liblwgeom.h:404
void lwfree(void *mem)
Definition: lwutil.c:214
void ptarray_free(POINTARRAY *pa)
Definition: ptarray.c:330
POINTARRAY * points
Definition: liblwgeom.h:406
Here is the call graph for this function:
Here is the caller graph for this function: