PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lwpoly_add_ring | ( | LWPOLY * | poly, |
POINTARRAY * | pa | ||
) |
Add a ring to a polygon.
Add a ring, allocating extra space if necessary.
Point array will be referenced, not copied.
Definition at line 247 of file lwpoly.c.
References LW_FAILURE, LW_SUCCESS, lwrealloc(), LWPOLY::maxrings, LWPOLY::nrings, and LWPOLY::rings.
Referenced by GeneratePolygonGeometry(), geography_centroid_from_mpoly(), lwgeom_segmentize_sphere(), lwpoly_chaikin(), lwpoly_construct_circle(), lwpoly_construct_rectangle(), lwpoly_filterm(), lwpoly_from_twkb_state(), lwpoly_from_wkb_state(), lwpoly_set_effective_area(), parse_geojson_multipolygon(), and wkt_parser_polygon_add_ring().