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: Mariette Yvinec <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Tetrahedral mesh point location
  • Date: Mon, 09 Jul 2012 10:54:50 +0200

Once you have a 3d triangulation,
you may create the c3t3 by hand :
just scan  your triangulation using the triangulation iterators
and use add_to_complex member functions.

The main problem then to turn your triangulation into a valid CGAL triangulation
which is not easy.
The most simple way might be to create a file that CGAL can read
or to mimick the code of the input stream operator.



Le 07/07/12 19:43, Zohar a écrit :
A new model for AABBPrimitive seems quite straight forward, and there are
examples for it in the doc. On the other hand there are no examples for
writing a new model for AABBTraits, and from a look at AABB_traits.h, it
seems like rewriting half of the AABB tree. In this case, although less
elegant, I think it would be easier just to insert all the tets faces
(triangles) into the AABB tree, find the closest face, and determine which
of the two tets that share it, my point is in.

I am asking again (a question I asked in the past), isn't there a way to
populate a c3t3 structure manually? 
Does it have the same limitation of the triangulation class, although I
could at least construct a constrained triangulation class?

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


-- 
Mariette Yvinec
Geometrica project team
INRIA  Sophia-Antipolis  







Archive powered by MHonArc 2.6.18.

Top of Page