Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Is it possible to keep track of edges are collapsing in surface mesh?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Is it possible to keep track of edges are collapsing in surface mesh?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Is it possible to keep track of edges are collapsing in surface mesh?
  • Date: Wed, 16 Oct 2019 09:09:30 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:ctJH+h33fBdvTzn8smDT+DRfVm0co7zxezQtwd8ZseIRL/ad9pjvdHbS+e9qxAeQG9mCsLQb16GP6vyocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmTSwbalwIRi5ogndq9QajIR/Iast1xXFpWdFdf5Lzm1yP1KTmBj85sa0/JF99ilbpuws+c1dX6jkZqo0VbNXAigoPGAz/83rqALMTRCT6XsGU2UZiQRHDg7Y5xznRJjxsy/6tu1g2CmGOMD9UL45VSi+46ptVRTljjoMOTwk/2HNksF+kbxVoByhqRJ8zYDbbo6aO/hica3SZt4aWWhMU9xNWyBdDI6xbY0CBPcBM+ZCqIn9okMDoRWjCwayH+zg0CRIhmP33aIk1eQqDAfI3As6H9IPt3TUsMj+OKMTX++ry6nIyCvMb+9M2Tb96IbHaAwuoe2LXbJqccvdzEcjHB7Cg1WLrYzlOCmV1uUKs2iH9eZgUOavhnUoqwF0uDevx8MshpPViYISz1DJ7CN0y5s7K92/TU50e9+kEJ1IuiGcLYR5WdgtQ2V2tyog1rIGvpu7cDAWx5Qo3RHfb+aLc4+S4hLsUuuaPDR2hGp9db6hmxq/9VKsx+78W8WuzlpGsDdJnsPDu30MzxDe5cmKRuFy80u7xDqC2APe5vtaLUwpmqfWLYMqzKQqmZoJq0vDGzf7mEXog6+ScUUp4u2o5P7mYrXiv5OdOZV0hhznPqQglcGyAP40MgcJX2ic9uS80KPs8VflT7VNi/06iqjZsJbEKsQHvqO1HRNZ34I55xu8DzqqysoUkWcaIF5fdx+KjpDlO1TUL/D5Cfe/jU6skDBux/3eJb3hBpLNLmLCkLfmYbZx8UtcyA4owNBQ4pJbELABIPbpVkDts9zYCwc1MxaozOb/FNV9yoQeVHqTDa+WKqzStUaE6f8uI+mXeIAVpS39K+M+6v71jX45nEcdcrOz0ZsWbnC4BPVmLF+DbXrimNdSWVsN6wExReivhFyZWiNIfF6zWbg973c1EtGIF4DGE8qWjbaIxzu6E5seQmdcC1eQWTfHeoKBVusWeQybKdNmiC1FH/D1UIsmzxCpqEn/z5JoK+PV/msTspe1h4s93PHaiRxnrW88NM+ayWzYFzgpzFNNfCc/2eVEmWI4ylqH1vIl0flRFNgW+OkQFwlma9jTyOt1D920UQXELI/QFASWB+6+CDR0deofhscUah8kSdqnhxHHmSGtBu1Nzu3ZNNkP6qvZmkPJCYN4wnfC2rMmigB/EMRKPGyiwKV48lqKCg==

You have the information about what will be collapsed in the visitor.
You are free to assign an id to the edge if needed using a hash map
if needed.

Sebastien.

On 10/11/19 5:57 AM, Shrabani Ghosh wrote:
Hi,
I am working on surface_mesh_simplification.
I am referencing here this example.

https://doc.cgal.org/latest/Surface_mesh_simplification/Surface_mesh_simplification_2edge_collapse_visitor_surface_mesh_8cpp-example.html

I want to keep track of the edges are collapsing for further use.
Let's say, in my mesh, there are 10 edges.

I want to use keep trace if edges 5,6,7,8 are collapsing.
if 6 and 7 number edges are collapsed, I want to save the edge numbers.

And after collapsing edges on the first iteration, the ids of the edges
changes from the original mesh?

Thank you.
Shrabani Ghosh



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page