PostGIS  2.1.10dev-r@@SVN_REVISION@@
void lwpoint_free ( LWPOINT pt)

Definition at line 180 of file lwpoint.c.

References LWPOINT::bbox, lwfree(), LWPOINT::point, and ptarray_free().

Referenced by BOX2D_to_LWGEOM(), centroid(), contains(), coveredby(), covers(), geography_project(), geometry_to_point(), geos_intersects(), LWGEOM_addpoint(), LWGEOM_azimuth(), LWGEOM_envelope(), lwgeom_free(), LWGEOM_inside_circle_point(), LWGEOM_line_interpolate_point(), LWGEOM_setpoint_linestring(), lwmpoint_free(), point_to_geometry(), pointonsurface(), test_geohash(), test_lwline_split_by_point_to(), test_lwprint_assert_error(), test_lwprint_assert_format(), and test_tree_circ_pip2().

181 {
182  if ( ! pt ) return;
184  if ( pt->bbox )
185  lwfree(pt->bbox);
186  if ( pt->point )
187  ptarray_free(pt->point);
188  lwfree(pt);
189 }
void lwfree(void *mem)
Definition: lwutil.c:190
void ptarray_free(POINTARRAY *pa)
Definition: ptarray.c:315
Definition: liblwgeom.h:367
GBOX * bbox
Definition: liblwgeom.h:365

Here is the call graph for this function:

Here is the caller graph for this function: