[ Maverik Level 2 functions ]


mav_SMSIntersectLine

Summary

Intersect an SMS with a line.


Syntax

int mav_SMSIntersectLine(MAV_window *w, MAV_SMS *sms, MAV_line ln, MAV_objectIntersection *oi, MAV_object **o);


Description

The function intersects all objects in a given SMS with line ln. If an intersection is detected, the function returns MAV_TRUE, otherwise MAV_FALSE. The closest intersection point is returned in oi, and a pointer to the intersecting object in o.


Back to the index page.