[MOAB-dev] OBB tree interface question

Tim Tautges tautges at mcs.anl.gov
Thu Sep 30 11:33:38 CDT 2010


It wouldn't bother me at all, and I think such normalization across the various trees is desperately needed (I can think 
of other functions we need across the trees too, like closest vertex).

- tim

On 09/30/2010 11:22 AM, Steve Jackson wrote:
> 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

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list