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

Function get_bbox

mapgd.c:471–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471static void get_bbox(pointObj *poiList, int numpoints, double *minx, double *miny, double *maxx, double *maxy) {
472 int j;
473
474 *minx = *maxx = poiList[0].x;
475 *miny = *maxy = poiList[0].y;
476 for(j=1; j<numpoints; j++) {
477 if ((poiList[j].x==-99.0) || (poiList[j].y==-99.0)) continue;
478 *minx = MS_MIN(*minx, poiList[j].x);
479 *maxx = MS_MAX(*maxx, poiList[j].x);
480 *miny = MS_MIN(*miny, poiList[j].y);
481 *maxy = MS_MAX(*maxy, poiList[j].y);
482 }
483
484 return;
485}
486
487symbolObj* rotateVectorSymbolPoints(symbolObj *symbol, double angle_rad) {
488 double dp_x, dp_y, xcor, ycor;

Callers 1

rotateVectorSymbolPointsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected