Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?
Chronological Thread
- From: Mael <>
- To:
- Subject: Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?
- Date: Tue, 15 Oct 2019 12:40:16 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
- Ironport-phdr: 9a23:BBWhqRW8kAqNoyXNXmuXpMNjAE/V8LGtZVwlr6E/grcLSJyIuqrYbBCCt8tkgFKBZ4jH8fUM07OQ7/m7HzNbqszQ+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe7x/IAi4oAnLtMQbj4RuJrg1xxDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKjg0+3zVhMNtlqJWuA+vqQJxw4DUY4+bOvRxcazfctwGSmRMRdpRWi5bD4+gc4cCAegMMOBFpIf9vVsOqh6+CBGrCuz11DBIgmL90Ko/0+s7Dw7G2BYsH8gJsHTJo9T6KqMSXfqxzKbS1jrMdO1Z1Czy6IfWdRAhpO+DXa5qccvRx0kgDR/KjkmXqYz/PzKZzPgCs2+e7+d5U++klmApqwZ0oje1x8csjJHEhoQPxV/f7ip5xJg6KcekR058ZN6pFoZbuSKCN4ZuTc4vQntktDsmxrAGo5K2cycHxI46yxPbafGLa5aE7gj+WOuROzt0mX1odbClixqs7UStzuvxXdSu3llQtCpKiNzMu2gN1xPN7siHTeNw80m71TaK0ADf9+NJLEMumareMZEhw7owmoMUsUTeAi/6gkL2jLGWdkk+/Oin9fjnbq3npp+aKYB0lhnzP6svl8ClHOg0LggDU3KU9OmzzrHv4En0TbdSgv0ziKbZsZTaJcoBpq6+Bg9YyoMj5AyhADeiytgYh34HLE9KeR2Zi4jlIVXOL+rjAviknVuhizhryO7BPr3kHJrNMmLDkbfvfbln90Fc1A0zzcpf5p5OFr4BJ/fzVlfrtNPEFh85LxC0w+H/Bdph2YMRQ2aPDraEP6PTql+H+v8vI/KXZIIOozb8K/0l5+b0gnMjmF8de7Op3ZoNZ3yiEPRmORbRXX25idgIFSIGvxE1UffxoFyESz9aIXioDIwm4TRuLYurCc+XQ4mghPqb2zqrE5kQYmlMAF2kHnrvcoiYQeYCYSmOJdVw1DcDUO7yGMcayRiyuVqimPJcJe3O93hA7M6x5J1O/+TW0CoK23lsFc3HijOCQmZxk38SVjE/17x4u107wVCGg/Ah3q5oUOdL7vYMaT8UcJ7Ry+sgVYKpHAfGJ4jZDlOvQ9HjBiwtCNUvw5kIblovQ4zz3CCG5DKjBvour5LOAZU19qzG2H2rfpRyxnHD2bU7nlcvSddIL3zgjal6pVDe
I see. No, you do not have access to the cost functor in the placement.
However, this is indeed often the case that the "placement" and "cost" functors are going to do similar things. But you do not exactly need the cost functor itself, you can simply do the same computations (code) that you are doing in the "cost" functor, but in the placement "functor". On CGAL side, this happens for a few simplification methods, and we simply factorize this code into a class called "****_core.h" which the "cost" and "placement" functors are then both using (see for example Lindstrom-Turk, and the upcoming Garland-Heckbert methods).
Best,
Mael
On 15/10/2019 12:29, tdchen wrote:
Sorry for my poor english.
What I want to ask is that if I can call cost function in placement function
to finally decide the placement.
I mean in the placement function I will try several places and compare their
costs, finally set the placement in the place with the lowest cost.
I am new with STL, and now I just think a policy is a function.
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, tdchen, 10/13/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Mael, 10/14/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, tdchen, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Mael, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, tdchen, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, tdchen, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Mael, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, tdchen, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Shrabani Ghosh, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Sebastien Loriot (GeometryFactory), 10/16/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Shrabani Ghosh, 10/23/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Sebastien Loriot (GeometryFactory), 10/16/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, tdchen, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Mael, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, tdchen, 10/15/2019
- Re: [cgal-discuss] Is it convenient to change the surface_mesh_simplification a little?, Mael, 10/14/2019
Archive powered by MHonArc 2.6.18.