>
> Usually as a maya developper I tried to use what comes from the API...
>

http://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=__cpp_ref_class_m_bounding_box_html

the MBoundingbox class provides 2 useful methods : contains and intersect ( 
one if for point, second is for a second bounding box)
So here the answer is trivial as a ray can produce a boundingbox and your 
problem solved in 3 lines... 

what a lot of python programmera forget is that you are doing work inside a 
dcc and thus you need to take the time to learn/ master this platform 
before coding thing yourself or try to fight it

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/a149eb2c-b060-4159-b464-1825a6b41573%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to