Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Why does number of segments==number of faces ?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Why does number of segments==number of faces ?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Why does number of segments==number of faces ?
  • Date: Thu, 27 Apr 2017 18:04:06 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:60ZLnBKPyAew1AjkXdmcpTZWNBhigK39O0sv0rFitYgeLvnxwZ3uMQTl6Ol3ixeRBMOAuq4C07KempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwpFiCChbb9uMR67sRjfus4KjIV4N60/0AHJonxGe+RXwWNnO1eelAvi68mz4ZBu7T1et+ou+MBcX6r6eb84TaFDAzQ9L281/szrugLdQgaJ+3ART38ZkhtMAwjC8RH6QpL8uTb0u+ZhxCWXO9D9QLYpUjqg8qhrUgflhjoZOT438G/Xjc9+gqxVrx2upRNw34HabZqJNPd8ZK7RYc8WSGRBU8tXSidPApm8b4wKD+cZM+pWspfyqEAUohulGQmsBf3gyjlVjXHw2q06yeUhEQba3Ac9G94AsWrbrNLwNKgMTeC11qnJwzXZYPxKxTf975LIcxAkrf2CQLl9dtHRyU0oFwPfj1WQrpDlMymQ1uQJqGWb4O9gWviui24jsQ1+vj+vxsI1h4TPm4kbxFfE9SBjz4Y0I921UEh7bsS/H5RLsyGVKZF6Td8lQ2Ftvisx174IuYajcSUIx5kr3QPTZ+KHfoSS4R/vSvydLDhliH59er+yhAy+/Vavx+D9TMW4zVJHoyRfntTOtn0A0QHY5NKdRftn5Eih3C6C1wDN5eFAJkA5ja/bJIQgwr40j5YSv0HDEjPvlEX4g6Kaa18o+uev6+TgbbXmooGTO5VohQH5N6Qigs2/AeImPQgSR2WW++ux2Kf+8UHnQLhGlP47nrfDvJ3VOMgXvqu5DBVU0oYn5Ra/FTCm0NEAkHkcKFJFfwiHj4nuO1HSOvz4CPO/jk+jkDdu3f/GP7nhDo/RIXjElbftZax95FJEyAov0dBf4IpZBa0OIP3pXk/9rcHXDh4iMwOo3ubnE85925gFWWOPB6+ZKLndvUWJ5uIpOemMZZUatCzzK/g/tLbSiioyllYZOKWoxpAKc2uQH/J8Ikzfb2C/rM0GFDJAhQc0Rff2iVCEGRpUfXe1Q+p8yTw8DY+6F5btT4uxh6aQnW3zSoZSYXpHDUzKFHPAeICNWvNKYyWXdJwy2gcYXKSsHtdynSqlsxX3nuJq
  • Organization: GeometryFactory

On 04/27/2017 05:50 PM, Iasonm wrote:
std::cout << "is polygon soup polygon mesh:"
<<
CGAL::Polygon_mesh_processing::is_polygon_soup_a_polygon_mesh(
polygons)
<< std::endl;
Prints is polygon soup polygon mesh:1

and also if it was a polygon soup and not a polygon mesh wouldn't the
following function remove that problem?
CGAL::Polygon_mesh_processing::polygon_soup_to_polygon_mesh(points,

polygons, M);



I mean are you sure the edge shared by two triangles is not duplicated.
In this case you would have one connected component per face.
Check the output of CGAL::is_closed(pmesh).

Sebastien.




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Why-does-number-of-segments-number-of-faces-tp4662701p4662703.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page