Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Surface mesh Simplication crashed

Subject: CGAL users discussion list

List archive

[cgal-discuss] Surface mesh Simplication crashed


Chronological Thread 
  • From: 王进 <>
  • To:
  • Subject: [cgal-discuss] Surface mesh Simplication crashed
  • Date: Sun, 18 Mar 2012 21:19:01 +0800 (CST)

Hi,CGAL Developers:
I use Lindstrom-Turk edge-collapse algorithm for mesh simplification,but CGAL crashed 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 





Archive powered by MHonArc 2.6.16.

Top of Page