PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ lwmpoly_add_lwpoly()

LWMPOLY* lwmpoly_add_lwpoly ( LWMPOLY mobj,
const LWPOLY obj 
)

Definition at line 47 of file lwmpoly.c.

References lwcollection_add_lwgeom().

Referenced by geography_centroid(), parse_geojson_multipolygon(), parse_gml_mpoly(), and parse_gml_msurface().

48 {
49  return (LWMPOLY*)lwcollection_add_lwgeom((LWCOLLECTION*)mobj, (LWGEOM*)obj);
50 }
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: