Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] AABB tree iteration to obtain AABB nodes

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] AABB tree iteration to obtain AABB nodes


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] AABB tree iteration to obtain AABB nodes
  • Date: Mon, 18 Jan 2016 13:16:01 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:gkUxNhDYRq/TGMfscAW7UyQJP3N1i/DPJgcQr6AfoPdwSP79o8bcNUDSrc9gkEXOFd2CrakU1ayH7eu7AyQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTpkbHssMaJKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDxcK08CLBZFz87KHsd5cvxtBCFQxHcyGEbVzBcqRdCChPZ7Rz8FrP2qCr9qqI99ySdOMDqV6EaUD++6L16CVWg3DwDMCQ4932Rj8hYg6dSoRbnrBt6ld2HKLqJPeZzK/uONegRQnBMC55c
  • Organization: GeometryFactory

On 01/18/2016 11:50 AM, zormil wrote:
Thank You for fast response Sebastien.
I would like to print all bboxes of AABB tree. I am writing some paper where
I have two meshes of tibial and femoral bones and calculating some
intersections with rays. I saw on CGAL site something very similar to my
problem (there is a femoral bone and AABB tree drawn with bone mesh).

Regards,

Zoran


This is not documented but in the Polyhedron demo, it is used like this:

CGAL::AABB_drawing_traits<AABB_primitive, CGAL::AABB_node<AABB_traits> > traits;
traits.v_edges = &positions_lines;
tree.traversal(0, traits);

You can adapt include/CGAL/internal/AABB_tree/AABB_drawing_traits.h to
your setting.

Sebastien.




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/AABB-tree-iteration-to-obtain-AABB-nodes-tp4661506p4661508.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page