MCPcopy Index your code
hub / github.com/MapServer/MapServer / msGetOuterList

Function msGetOuterList

mapprimitive.c:254–266  ·  view source on GitHub ↗

** Returns a list of outer rings for shape (the list has one entry for each ring, ** MS_TRUE for outer rings). */

Source from the content-addressed store, hash-verified

252** MS_TRUE for outer rings).
253*/
254int *msGetOuterList(shapeObj *shape)
255{
256 int i;
257 int *list;
258
259 list = (int *)malloc(sizeof(int)*shape->numlines);
260 MS_CHECK_ALLOC(list, sizeof(int)*shape->numlines, NULL);
261
262 for(i=0; i<shape->numlines; i++)
263 list[i] = msIsOuterRing(shape, i);
264
265 return(list);
266}
267
268/*
269** Returns a list of inner rings for ring r in shape (given a list of outer rings).

Callers 6

processShpxyTagFunction · 0.85
gmlWriteGeometry_GML2Function · 0.85
gmlWriteGeometry_GML3Function · 0.85
msOGRWriteShapeFunction · 0.85
msSOSAddGeometryNodeFunction · 0.85

Calls 1

msIsOuterRingFunction · 0.85

Tested by

no test coverage detected