RayShoot Question


Does Rhino.Geometry.Intersect.Intersection.RayShoot use any kind of acceleration structure?


(Dale Fugier) #2

Hi Nathan,

I am not sure what you mean by acceleration structure, but the function is not multi-threaded if that is what you mean.

Why do you need to use this function?

– Dale


I meant like a BVH, Grid, or KD tree. Or maybe the rhino.geometry.rtree?

If I give it 10 objects to intersect the ray, does it look for intersections with all 10 objects on every bounce, or does it have a way to cull out objects that are impossible to hit before finding the intersection point?

I was just experimenting. I don’t have a real need to use it, I was just curious and thought someone on here might have a quick answer.


(Dale Fugier) #4

Hi Nathan,

I meant like a BVH1, Grid, or KD tree1. Or maybe the rhino.geometry.rtree?

No, the function does not use any of these.

– Dale