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

Function get_bbox

mapsymbol.c:866–880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866static void get_bbox(pointObj *poiList, int numpoints, double *minx, double *miny, double *maxx, double *maxy) {
867 int j;
868
869 *minx = *maxx = poiList[0].x;
870 *miny = *maxy = poiList[0].y;
871 for(j=1; j<numpoints; j++) {
872 if ((poiList[j].x==-99.0) || (poiList[j].y==-99.0)) continue;
873 *minx = MS_MIN(*minx, poiList[j].x);
874 *maxx = MS_MAX(*maxx, poiList[j].x);
875 *miny = MS_MIN(*miny, poiList[j].y);
876 *maxy = MS_MAX(*maxy, poiList[j].y);
877 }
878
879 return;
880}
881
882/*
883 ** msRotateSymbol - Clockwise rotation of a symbol definition. Contributed

Callers 1

msRotateVectorSymbolFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected