Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] AABB trees with faces from several surface meshes

Subject: CGAL users discussion list

List archive

[cgal-discuss] AABB trees with faces from several surface meshes


Chronological Thread 
  • From: Lucio Santi <>
  • To:
  • Subject: [cgal-discuss] AABB trees with faces from several surface meshes
  • Date: Wed, 19 Dec 2018 02:44:57 -0300
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:W6iGhRN+1k30/Q8xTlsl6mtUPXoX/o7sNwtQ0KIMzox0Lfz7rarrMEGX3/hxlliBBdydt6oUzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlLiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSgINzA3/mLZhNFugq1Hux+uvQBzzpTObY2JKPZzfKXQds4aS2pbWcZRUjRMDIWhb4QTDuoBOvtToZTnqFsIsRu+BBSnCeTryj9TnHD227E60+U6HA7bwAMsBc8Ov2/Oo9nvLqgSS/m4wa/VxjvAd/NbwSrx5YjKfxw7pfyAQ6h8fMTPxUU1Cg/IgEicpZT7Mz+J0ukBqWuW4up6We6xlmIrtxt9riWty8osjITCm5gbxUre9SpjxYY4Pd24R1B/Yd6jCJZQsj2aOJFrTs84XW5ptzw1xaEauZGhZygG0oknyAXFZPCdaYeI+ArvVOeXIThmmHJoYK+zihaw/ES6zuDwSNO43VhUoiZfj9XBuG0B2wTW6sedS/t9+kmh2SyI1wDW8uxEJVs0mrDdK549w749jYccvljZEi/rg0r5lrWaeV8++uSw8eTofq3mpoOAN49zkgzxLqsulda7AeghLwcOXnOb9vih1L345k30W65Kj/0zkqnBqp/WP8UbpqijAw9UyIkv8Ri/Dy31mOgfyHIIJVYAdBOchJXyIHnPJur5BLGxmQeCijBuktTbNbzmSq7EKGTC2OPlZr979090xAF10NpWoZtOXOJSaMnvU1P84YSLRiQyNBa5lr6+WYdNk7gGUGfKOZe3dabbsFuG/OUqerDeaIRTpTz0bfE/tae30S0J3GQFdKzs5qM5LWiiF60/cUmSJ2fmi5EICzVS51dsfKnRkFSHFAVrSTOyUqY7vGhpDZ6vVMHOVommnLWamjqxF9tffDIeBw==

Hello,

I have an AABB tree storing triangular faces coming from different surface mesh instances. I'm using that data structure to compute intersections with rays, but currently the primitive ID that I obtain for each intersection query is just a face index (i.e., an instance of CGAL::Surface_mesh<Point_3>::Face_index). I would like to know which surface mesh this face belongs to. Is there a clean way to do this? I was thinking of providing my own AABB primitive somehow, but I'm not sure if this is the proper way to do it (and in fact I'm not even sure how this can be done).

Thanks in advance for your help,

Lucio



Archive powered by MHonArc 2.6.18.

Top of Page