Subject: CGAL users discussion list
List archive
- From: Claus Volko <>
- To:
- Subject: Re: [cgal-discuss] Select all vertices
- Date: Mon, 11 Sep 2023 06:49:47 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-data: A9a23:3KVCaqv6CMMthDBTzZyNfaXxkefnVIBaMUV32f8akzHdYApBsoF/q tZmKWHVPqreYGvzf9AnPduz9ENS75fTz4JnHlY9qno8ESwVgMeUXt7xwmXYb3rDdJWbJK5Ex 5xDMYeYdJhcolv0/ErF3m3J9CEkvU2wbuOgTrSCYEidfCc8IA85kxVvhuUltYBhhNm9Emult Mj7yyHlEAbNNwVcbCRMscpvlDs15K6p4GJB5gRlDRx2lAa2e0c9XMp3yZ6ZdCOQrrl8RoaSW +vFxbelyWLVlz9F5gSNz94X2mVTKlLjFVDmZkh+A8BOsTAezsAG6ZvXAdJHAathZ5plqPgqo DlFncTYpQ7EpcQgksxFO/VTO3kW0aGrZNYriJVw2CCe5xSuTpfi/xlhJGUdZpUB8L4pOEpD7 KUjGhBQRRWOvO3jldpXSsE07igiBMziPYdavnM5iD+AUqtgTpfETKHHo9Rf2V/chOgURaeYN 5dfM2I/Kk2fPnWjOX9PYH46tOykmH77cDpwp1ecpK5x6G/WpOB0+OawbYWLJoXSLSlTtnahq 2CYxXb1OR0DbJuw9D6701SHmdaayEsXX6pLTOHinhJwu3WYyWUXTREXTlCmuuKRkV+7Q9sZK koO+yNoo7JayaCwZtz0Xhn9pHzd+xBFBIcWHOo95wWAjKHT5m51G1ToUBZlQ4c+rcVuGwUB2 0bQpOHJWBdqvYaaHCf1GqivkRu+Pi0cLGknbCACTBcY79SLnG3VpkKeJjqEOP7l5uAZCQ0c0 BjR83dj3+R7YdojkvTkrQqe0lpAs7CQFlZtjjg7SF5J+e+QWWJIT4mh6Fye6fQZaYjAEQTHs 38DlMyTqusJCPlhdRBhos1cR9lFBN7faFUwZGKD+bF/qVxBHFb9IOhtDMlWfhsBDyr9UWaB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7sji/vsJIj/3K/7okhI5x4jEbvnKoxkAC iinPM1+TGkgtoMndwiUmHzrttO7Ip+JMZRK50fSy1CZ36BUMM5jyaZM3HA6fzq75Tp8lYtZx VRvxc3o5dDXbTwyo+TpREYfbGS9ZttPqGiy1uAHz5rQh8b3Wcw/UjQTAMmyFaPuQG9U7K63c V7JSWJZyD/TGKKDT1XGtgE7/zSWQsrtbzbOdTEY1YkwHkDDYhYE0UZPBnNi2cdoXhajwMirG KtgzhYW4FOw6h5Fy+YzcgL6Tn+avwCwLDE9VJmYKhNSqABE/Ubcd8KEvKp1GGlD85utoRboS CTTbhlUDWwPRk2PBkzydrio697a9uGEB+24Z/LQaLSKoOZaWr+G35Wqmodh+j+NMI2IMBwAR 7Uj3VFfWHliB8nDszAGSihSkyCUKsDC+0r69SpwocSytv/sXUOn5IeCDadTLcQ6+x2yhvTmV abYjyJ4JDBEk5IUkCWQmf5PgRhI03EoLmbwQtFi/WbXQandm7FaFUseYiJ3b45T6r4kmxJKI Yjdg8/00bhxirg0DU1EXBrvgJLMB4RCLmejOVfAHEvOOq6BIGiByM3pZqe/TpVfiexVs1u7v jPRQCqBdnyT0iLkURyiK7QGlCaAIBlXo52waD5oAGnnCdbkM1i1aYAqyzIxxrIwizXBMmtWY l0eOwtd67aX6y1fmPB2HWdMu2FkIeezkCGc9+DEK5wSvJOD5wx7kutb5DIxzL4HtEmspdRwk SrW69ps+hSoy7bSjDVgVxVKp3BAg4fZ5S2K1o3W85BBXTDP+xdftA2t
- Ironport-sdr: 64fe9c77_4tCuB8sqnioJzjjAbJvkxALwU5JZqwXB3Qh19c5oIDbt6Wz CjxEcXqvGyUCfP3logyf2oYbWnN9sWn2gKXnzpw==
I suppose it can be done like this:
std::vector<Polygon_mesh::Vertex_handle> region;
for (Polygon_mesh::Vertex_iterator v = polygon_mesh.vertices_begin(); v != polygon_mesh.vertices_end(); v++)
{
region.push_back(v);
}
CGAL::Polygon_mesh_processing::fair(polygon_mesh, region);
for (Polygon_mesh::Vertex_iterator v = polygon_mesh.vertices_begin(); v != polygon_mesh.vertices_end(); v++)
{
region.push_back(v);
}
CGAL::Polygon_mesh_processing::fair(polygon_mesh, region);
Am So., 10. Sept. 2023 um 09:37 Uhr schrieb Claus Volko <>:
Polygon_mesh_processing/refine_fair_example.cpp contains the method extract_k_ring, which selects some vertices and puts them into a region. How can I select all vertices of a polygon mesh and put them into a region so that I can use PMP::fair with it?
--
--
- [cgal-discuss] Select all vertices, Claus Volko, 09/10/2023
- Re: [cgal-discuss] Select all vertices, Claus Volko, 09/11/2023
- Re: [cgal-discuss] Select all vertices, Sebastien Loriot, 09/11/2023
- Re: [cgal-discuss] Select all vertices, Claus Volko, 09/11/2023
- Re: [cgal-discuss] Select all vertices, Sebastien Loriot, 09/11/2023
- Re: [cgal-discuss] Select all vertices, Claus Volko, 09/11/2023
Archive powered by MHonArc 2.6.19+.