** Returns MS_TRUE if rectangle a is contained in rectangle b */
| 78 | ** Returns MS_TRUE if rectangle a is contained in rectangle b |
| 79 | */ |
| 80 | int msRectContained(rectObj *a, rectObj *b) |
| 81 | { |
| 82 | if(a->minx >= b->minx && a->maxx <= b->maxx) |
| 83 | if(a->miny >= b->miny && a->maxy <= b->maxy) |
| 84 | return(MS_TRUE); |
| 85 | return(MS_FALSE); |
| 86 | } |
| 87 | |
| 88 | /* |
| 89 | ** Merges rect b into rect a. Rect a changes, b does not. |
no outgoing calls
no test coverage detected