[MOAB-dev] create ray_intersect_all_sets function

Brandon Smith bsmith82 at yahoo.com
Mon Apr 5 10:01:28 CDT 2010


Hi Hong-Jun,

Can you explain this in more detail?

If I wanted to find all intersections among all surfaces I would join the surface OBB trees together into a larger tree, then call ray_intersect_sets only once.


Brandon


________________________________
From: "hongjun at mcs.anl.gov" <hongjun at mcs.anl.gov>
To: moab-dev at mcs.anl.gov
Sent: Mon, April 5, 2010 9:45:37 AM
Subject: [MOAB-dev] create ray_intersect_all_sets function

Hi! All

I can find all intersected surface sets with "MBOrientedBoxTreeTool::ray_intersect_sets" function and large tolerance, but it takes too long time.
So, I made "MBOrientedBoxTreeTool::ray_intersect_all_sets" function to find intersected boxes at first and find all surface sets and triangles intersected with small tolerance like "MBOrientedBoxTreeTool::ray_intersect_triangles" function which is much faster.

To minimize possible errors with other codes, I made it as a new function not modyfing existing "MBOrientedBoxTreeTool::ray_intersect_sets" function.

Is it ok to all for me to commit it?
Thanks.

Hong-Jun



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20100405/2e441d39/attachment.htm>


More information about the moab-dev mailing list