Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] [3D Mesh Generation] 0-dimensional features

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] [3D Mesh Generation] 0-dimensional features


Chronological Thread 
  • From: Marek <>
  • To:
  • Subject: Re: [cgal-discuss] [3D Mesh Generation] 0-dimensional features
  • Date: Mon, 13 Jan 2014 02:42:05 -0800 (PST)

Hi
I've implemented it as you said some time ago and everything looked alright
but now i've stumbled upon situation in which some points are neglected in
final mesh.

I'm adding them like this:

C3t3 c3t3;
CGAL::internal::Mesh_3::init_c3t3_with_features(c3t3, domain, criteria);
Tr& tr = c3t3.triangulation();

Then, for each point I want to preserve:
Vertex_handle vh = tr.insert(v->point());
c3t3.add_to_complex(vh,1);

where v are of type Polyhedron::Vertex_handle

It looks like at least some of inserted points are stored as verices in
triangulation but are not part of any facet/cell. Instead new points are
generated fairly close to ones I want to preserve.
Is there something wrong with my method of insertion to c3t3? How can I fix
it?



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/3D-Mesh-Generation-0-dimensional-features-tp4658532p4658636.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page