Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Pb with Refine_mesh_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] Pb with Refine_mesh_3


Chronological Thread 
  • From: antonio <>
  • To:
  • Subject: [cgal-discuss] Pb with Refine_mesh_3
  • Date: Mon, 25 Jan 2010 14:28:50 +0100 (CET)

Using Refine_mesh_3 on a triangulation where I have inserted points:

// Add Points to triangulation.
for(int i = 1; i <= pnts->Length(); i++)
{
gp_Pnt p = pnts->Value(i);
K::Point_3 p_3(p.X(), p.Y(), p.Z());
c3t3.triangulation().insert(p_3);
std::cout <<p_3<<std::endl;
}
// Meshing
CGAL::refine_mesh_3(c3t3,domain, criteria);

I obtain the following error:

CGAL error: assertion violation!
Expression :
File :
D:\Travail\GeomodellerDev\Intrepid\prebuild\CGAL\3.5\include\CGAL/Mesh_3/Refine_facets_3.h
Line : 126
Explanation: (483359 4.29066e+006 2924.96 0) is already inserted on surface.


The point (483359 4.29066e+006 2924.96 0) is in the list of inserted points.

Any idea how to solve the problem?

Thanks

Antonio



Archive powered by MHonArc 2.6.16.

Top of Page