Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Tetrahedral mesh point location

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Tetrahedral mesh point location


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Tetrahedral mesh point location
  • Date: Fri, 06 Jul 2012 16:34:34 +0200

I meant to work directly with tetrahedra.

You need a new model of AABBTraits:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/AABB_tree_ref/Concept_AABBTraits.html

with a new model of AABBPrimitive:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/AABB_tree_ref/Concept_AABBPrimitive.html

Sebastien.


On 07/06/2012 04:29 PM, Zohar wrote:

I'm not sure about the type, these are tets from a triangular mesh that were
generated with TetGen.

AABB tree solution sounds excellent, but I'm not sure how to go about it. Is
there some example for a custom type other than a triangle
(AABB_custom_example.cpp converts a custom triangle to cgal's triangle)?

Or did you mean that I would simply check intersection of a tet faces with
the point? But then I would need to intersect the point with at every
triangle twice.

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Tetrahedral-mesh-point-location-tp4655387p4655390.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page