[MOAB-dev] OBB tree interface question

Steve Jackson sjackson at cae.wisc.edu
Thu Sep 30 11:22:34 CDT 2010


The OBB tree's ray_intersect_triangles() function returns a list of distances at which the given ray intersects the triangles in the tree.  However, it does not return a list of the triangles that are intersected at those distances.  This is in contrast to the related function ray_intersect_sets(), as well as the equivalent function in the KD tree-- both return a list of distances and a list of triangles.  

I'd like to change the function to return two lists (distances and triangles).  Existing calls to OrientedBoxTreeTool::ray_intersect_triangles() would need to be modified.  (I'll update all the calls within MOAB.)  Would this interface change bother anyone?
~S


More information about the moab-dev mailing list