PostGIS  2.2.7dev-r@@SVN_REVISION@@

◆ lwmpoint_add_lwpoint()

LWMPOINT* lwmpoint_add_lwpoint ( LWMPOINT mobj,
const LWPOINT obj 

Definition at line 32 of file lwmpoint.c.

References lwcollection_add_lwgeom(), and LWDEBUG.

Referenced by lwgeom_collect_endpoints(), lwmline_locate_along(), lwmpoint_construct(), lwmpoint_locate_along(), lwpoint_locate_along(), parse_geojson_multipoint(), and parse_gml_mpoint().

33 {
34  LWDEBUG(4, "Called");
35  return (LWMPOINT*)lwcollection_add_lwgeom((LWCOLLECTION*)mobj, (LWGEOM*)obj);
36 }
#define LWDEBUG(level, msg)
Definition: lwgeom_log.h:50
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
Definition: lwcollection.c:174
Here is the call graph for this function:
Here is the caller graph for this function: