|
-
 Originally Posted by [email protected]
I think I have described the problem imprecisely. The problem is not the function for the intersection of the lines the problem is the quantity of the comparisons to find the knots.
Ahh I see. My mistake.
As for reducing the total number of comparisons made, some sort of broad phase culling scheme could be implemented. If you have already considered this and ruled it out due to the nature of the problem, then I don't really have any other insights to offer.
Otherwise, various spatial partitioning schemes, and possibly sweep and prune, may be worth investigating. I know that, for instance, KD-trees are often associated with good behavior with respect to shooting rays, and so may be a good starting point.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|