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

Function msMergeRect

mapsearch.c:91–97  ·  view source on GitHub ↗

** Merges rect b into rect a. Rect a changes, b does not. */

Source from the content-addressed store, hash-verified

89** Merges rect b into rect a. Rect a changes, b does not.
90*/
91void msMergeRect(rectObj *a, rectObj *b)
92{
93 a->minx = MS_MIN(a->minx, b->minx);
94 a->maxx = MS_MAX(a->maxx, b->maxx);
95 a->miny = MS_MIN(a->miny, b->miny);
96 a->maxy = MS_MAX(a->maxy, b->maxy);
97}
98
99int msPointInRect(pointObj *p, rectObj *rect)
100{

Callers 3

addResultFunction · 0.85
msGetQueryResultBoundsFunction · 0.85
msRectToPolygonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected