Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Using oriented 3D cuboids as geometric primitives in the AABB tree

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Using oriented 3D cuboids as geometric primitives in the AABB tree


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Using oriented 3D cuboids as geometric primitives in the AABB tree
  • Date: Thu, 19 Dec 2013 07:02:43 +0100
  • Organization: GeometryFactory

On 12/18/2013 11:53 PM, uschwes wrote:

I guess you wrote your own primitive type, right?

That´s basically my question :-). Do I have to do that?
So far I tried to use the CGAL::BBox_3 object inside the AABB tree. I
thought it would be possible to use that primitive directly, no?

You have to write a primitive wrapper model of http://doc.cgal.org/latest/AABB_tree/classAABBPrimitive.html

You can use the following one
http://doc.cgal.org/latest/AABB_tree/structCGAL_1_1AABB__primitive.html
and you'll only need to write property maps.


Sebastien.




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Using-oriented-3D-cuboids-as-geometric-primitives-in-the-AABB-tree-tp4658540p4658569.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page