mav_SMSIntersectBB - Intersect an SMS with a BB.

[ Maverik Level 2 functions ]

#

mav_SMSIntersectBB

## Summary

Intersect an SMS with a BB.

## Syntax

int mav_SMSIntersectBB(MAV_window *w, MAV_SMS *sms, MAV_BB bb, MAV_SMS *objs);

- MAV_window *w
  Window.

- MAV_SMS *sms
  The SMS.

- MAV_BB bb
  BB for intersection test.

- MAV_SMS *objs
  The intersected objects (if any).

## Description

The function intersects all objects in the given SMS with BB `bb`. If an intersection is detected, the function returns MAV_TRUE, otherwise MAV_FALSE. Object which intersect the BB are added to SMS `objs`.

Back to the index page.