PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ lwmpoint_add_lwpoint()

LWMPOINT* lwmpoint_add_lwpoint ( LWMPOINT mobj,
const LWPOINT obj 
)

Definition at line 45 of file lwmpoint.c.

References lwcollection_add_lwgeom(), and LWDEBUG.

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

46 {
47  LWDEBUG(4, "Called");
48  return (LWMPOINT*)lwcollection_add_lwgeom((LWCOLLECTION*)mobj, (LWGEOM*)obj);
49 }
#define LWDEBUG(level, msg)
Definition: lwgeom_log.h:83
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
Definition: lwcollection.c:187
Here is the call graph for this function:
Here is the caller graph for this function: