Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Fwd: fair() from polygon mesh processing package produces NaN points
Chronological Thread
- From: danielyan86129 <>
- To:
- Subject: Re: [cgal-discuss] Fwd: fair() from polygon mesh processing package produces NaN points
- Date: Fri, 31 May 2019 14:10:25 -0500 (CDT)
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:DdJ6+hV9Xnbr5LFiFCCtr2wX0JfV8LGtZVwlr6E/grcLSJyIuqrYYxyDt8tkgFKBZ4jH8fUM07OQ7/m5HzVbuN3Y6y1KWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sBjdutMLjYZsN6o9xQbFr3VIdu9L2W5mOFWfkgrm6Myt5pBj6SNQu/wg985ET6r3erkzQKJbAjo7LW07/dXnuhbfQwSB4HscSXgWnQFTAwfZ9hH6X4z+vTX8u+FgxSSVJ8z2TbQzWTS/86dmTQLjhSkbOzIl9mzcl8p9h79Zrh28vRxy24DaboGLOvR9fKzdc84USmVdUcheTCFBHoGxY5cTA+YdIepUsY/wrEYOoxukAgmsAfvixSJSiX/w3K01zeAhEAHc0wwmHN8DsWnYoMvxOawPVu260bPHzTPCb/xI3Tf86JLHchYirPyNQL58b87cxFIgFwPAlFqQqIjlMymJ2eQKtmiW9uxtXv+hhW4grgF+uDmvxsE0h4nPnI0a0UvL9SFnz4ovOdK4T0t7bcarEJtXsCGaOI92Td04T250vyY6z7sLsoO4cigS0Jkr2hrSZvidf4WG4R/vTuWcLDZiiH9keb+ygQu5/1K6xe3mTMa01U5HripbndnIsXAAzxrT58edRvt75Eiuwi2A1wTN5e1ePU80kq/bJ4Ygwr42iJUTrVzOEjLylUjylqObeEYp9vKr5unmeLnrp56RO5dxig7kM6QunsK/Af4/MggLR2WU5P6z1Lvi/ULnRLVLjuc5kq/avZ3bOMgXuKq0DhRa0oYm8Rm/DjOm3M4EknkAKVJJYAiHgJTxO1HSPPD4Cu+yjEijkDhxw/DKJ6DuApTWLnffjbfhZq195lVHyAszyNBf/4hbBqsAIPL1QE/xtcbXAgU3MwyukK7bD4B22YoaHG6OGaSEK7j6sFmS5+tpLfPfSpUSvWPxIv4k6vr/hHlpxwZHLOH90ZIRaX28D/1gcxvAOyvEjdIIEGNMtQ07Gr+5wGaeWCJeMi7hF5k34Ss2Xdr/XNXzA7u1ibnE5x+VW5hfZ2RIEFeJSC66eICNWvNKYyWXcJQ4zm40EIO5Qopk7imA8RfgwuM+fOXR8ywc85nk0YotvrCBpVQJ7TVxSv+l/SSNQmVzxz5aQWNw2ql1q0hwjFyE1Pohjg==
Here is the cube with a hole:
https://drive.google.com/open?id=1Z4D4YWAkIMxDk54Pa2umDKKNXeOWQFkC
<https://drive.google.com/open?id=1Z4D4YWAkIMxDk54Pa2umDKKNXeOWQFkC>
The code example takes time to make. I will try. What I'm doing is the
following:
Input: a mesh represented in our own data structure
For each hole of the mesh:
- get the hole of the mesh -> H, neighboring faces of H -> S (to be used as
constraint)
- patch the hole: triangulate_hole_polyline(), denote the patch faces P
- lift P along normals of the boundary of H, and connect the boundary of P
and boundary of H with a strip of triangle faces Q. This is to guarantee
only P can change during refinement, while boundary of H stays untouched
- refine P using refine()
- perform fairing on Union{P, Q}, with S as constraint
Since our mesh is pretty big, and may contain other artifacts, we can't
convert it to CGAL's mesh structure. Instead we chose to convert small
region around the hole to CGAL's Surface_mesh as each hole is processed.
Meanwhile, may I ask which section is implemented by fair() in the paper "On
Linear Variational Surface Deformation Methods"? Since it's a survey, does
it reference an older paper that describes exactly what fair() does?
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Fwd: fair() from polygon mesh processing package produces NaN points, Yajie Yan, 05/31/2019
- Re: [cgal-discuss] Fwd: fair() from polygon mesh processing package produces NaN points, Andreas fabri, 05/31/2019
- Re: [cgal-discuss] Fwd: fair() from polygon mesh processing package produces NaN points, danielyan86129, 05/31/2019
- Re: [cgal-discuss] Fwd: fair() from polygon mesh processing package produces NaN points, Andreas fabri, 05/31/2019
Archive powered by MHonArc 2.6.18.