Fast intersection between Line and Mesh

Was this article helpful?
3 out of 4 found this helpful

Comments

2 comments
Date Votes
  • Hello Benigno,
    thanks for sharing above code fragment to be used with the geometric kernel directly. I have tried it out and it did not work in the first place.
    I have found out that a call to

    octree.DoWork();

    is required before trying to find the intersections. This builds up the Octree-structure.
    Please, add this to the sample code, if I am right!
    Kind regards, Olaf

    0
  • Hi Olaf,

    Since the Octree is a Work Unit you need to call DoWork() method to compute data as well.
    I fixed the article, thanks for reporting it.

    0

Please sign in to leave a comment.

Articles in this section