Previous Up Next

M3testInter
Intersection test between sub-trees A and B.
If A (resp B) is a sub-tree of B (resp A), the test is performed between sub-tree A (resp B) and sub-tree B (resp A) less sub-tree A (resp B).
Returns nil if there is no intersection, otherwise returns the two objects which intersect each other.

[H3d H3d] M3testInter (
S3d _session_
H3d _A_
H3d _B_
)
Parameters

_session_
3D Session
_A_
A Object
_B_
B Object
Return value

Intersection of two objects, otherwise nil