Subject: CGAL users discussion list
List archive
- From: 王进 <>
- To:
- Subject: Re:Re: [cgal-discuss] Surface mesh Simplication crashed
- Date: Sun, 18 Mar 2012 22:09:02 +0800 (CST)
HI,Philipp Moeller
thanks for you reply!
1.I will try Simple_cartesian<double> instead of Cartesian<double> and will report the result
2.I will provide a full test-case for you,including my surface data and code as soon as possible
3.I have another question,in my surface,many of the points have the same XYZ and these points maybe in different face
can this cause cgal crash?
WANG
在 2012-03-18 21:21:02,"Philipp Moeller" <> 写道: >王进 <> writes: > >> Hi,CGAL Developers: >> I use Lindstrom-Turk edge-collapse algorithm for mesh simplification,but CGALcrashed at Handle_for.h >> >> bool >> is_shared() const >> { >> return ptr_->count > 1; >> } >> >> because of ptr_ is invalid pointer. >> the call stack show as below >> >> CGAL::Surface_mesh_simplification::EdgeCollapse >> ->boost::put >> ->CGAL::Point_3<CGAL::Cartesian<double> >::operator= >> ->CGAL::PointC3<CGAL::Cartesian<double> >::operator= >> ->CGAL::Vector_3<CGAL::Cartesian<double> >::operator= >> ->CGAL::VectorC3<CGAL::Cartesian<double> >::operator= >> ->CGAL::Handle_for<boost::array<double,3>,std::allocator<boost::array<double,3> > >::operator= >> ->CGAL::Handle_for<boost::array<double,3>,std::allocator<boost::array<double,3> > >::~Handle_for >> ->CGAL::Handle_for<boost::array<double,3>,std::allocator<boost::array<double,3> > >::is_shared() <---crashed >> >> for help! >> >> Wang > >A hint first: Don't use Cartesian<double>, performance is probably going >to be a lot better with Simple_cartesian<double>. Simple always means >better, right? ;) > >Can you provide a complete, minimal test-case that shows the problem? I >have used Mesh simplification extensively throughout last week and >nothing blew up in my face, but then again I was using Simple_cartesian. > >Cheers, >Philipp Moeller >GeometryFactory > >-- >You are currently subscribed to cgal-discuss. >To unsubscribe or access the archives, go to >https://lists-sop.inria.fr/wws/info/cgal-discuss >
- [cgal-discuss] Surface mesh Simplication crashed, 王进, 03/18/2012
- Re: [cgal-discuss] Surface mesh Simplication crashed, Philipp Moeller, 03/18/2012
- Re:Re: [cgal-discuss] Surface mesh Simplication crashed, 王进, 03/18/2012
- Re:Re: [cgal-discuss] Surface mesh Simplication crashed, 王进, 03/20/2012
- Re: [cgal-discuss] Surface mesh Simplication crashed, Philipp Moeller, 03/20/2012
- Re:Re: [cgal-discuss] Surface mesh Simplication crashed, 王进, 03/26/2012
- Re: [cgal-discuss] Surface mesh Simplication crashed, Philipp Moeller, 03/27/2012
- Re:Re: [cgal-discuss] Surface mesh Simplication crashed, 王进, 03/26/2012
- Re: [cgal-discuss] Surface mesh Simplication crashed, Philipp Moeller, 03/20/2012
- Re: [cgal-discuss] Surface mesh Simplication crashed, Philipp Moeller, 03/18/2012
Archive powered by MHonArc 2.6.16.