Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polyhedron_3 number of volume

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polyhedron_3 number of volume


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Polyhedron_3 number of volume
  • Date: Tue, 19 Feb 2019 16:02:52 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:Ro1h0hzGgGx5OBXXCy+O+j09IxM/srCxBDY+r6Qd2+0fIJqq85mqBkHD//Il1AaPAd2Lraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze+/94HQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wymt771zRRHolikJKjA3/mLQisNygqJUrx2vqABkzo7IfY+YLuZycr/Bcd8EQ2dKQ8ZfVzZGAoO5d4YDAewPMvxFr4nnuVQOqwe+DhSwCuPuzD9HmGX53bAn2OglDwzI3RAtEdQVvHrVstr1M6ISXv6pzKnSzTTNb+lZ1ivh6IjPaBAgofSAUbxtesfWzUkgDR7Fjk+OpozjIzOZzP4Ns2md7+V+T+2vlnUqpB1+oje1wscgkI7Jhpgayl3d8yhy3Yg7Jdq9SEFhYN6kFoNduD2VN4RsRsMuWWZouDw1yrEetp60Yi8KyJE5yB7DcfyGc4aI7Qj/W+aNJjd4nnJkdKijiBa19EitzPD3WMqs0FtSsyZJjN3BumoQ2xHX7sWLUP9w80a71TuAywzf8uVJLVwumafYKpMt2L09moYJvUjdAyP6hUP7h7KMeEo+4Oin8eHnb63mppCCM490jRnzMqIwlcyxG+g3LA4OX3OB9eSyzr3v5Uz5QLNUgf0qiqTVrY7WKMABqqKkBwJY1pwv5hK+Aju839kUgWELLFdfdxKGi4jpNUvOIPf9Dfqnh1Sjiiprx+rYMb3nHpXBNGLDkLbnfblj8UFc1RE+wsxQ551ODrENOvXzWlX+tNDAFB82LxS0w/r7CNV6zo4RRW2PDbWdMK/LrFCI5/kvLPWRZI8OozbwMOMl5v7rjX8hg1ARZ6ip3Z0NaHC5BPtqOUuZYWC/yusGRGwFtw57QO3xg0CZShZSYWyzVuQy/GIVEoWjWM3nT523jbqdlB26GJBfeygGIX+lNTDHeoKBVusWeQybKdNmiC1FH/D1T4Y8zxyoqEngyrxqJ/f88SIRsdTkztcjtL6brg076TEhV5fV6GqKVWwhxjpZFQ9z57h2pAlG8nnG1KF5h/JCEtkKv6FCXQ4+c5nGwL4hUoygakf6Zt6MDW2ebJC+GzhoFoA6zNYKJUFnFIf6102R72+RG7YQ0oezKtk0/6bbhiKjIctzjXvAz+8vlQt+Tw==
  • Organization: GeometryFactory

On Tuesday, February 19, 2019 3:32:42 PM CET antoineL wrote:
> Hello,
>
> In order to know how many separate volume my Polyhedron_3 have, i do this :
>
> Polyhedron_3 myPolyhedron;
> Nef_polyhedron nef (myPolyhedron);
> size_t number = nef.number_of_volumes();
>
> There is a way to know this information without the Nef_polyhedron
> trnaformation ?

It is probably the same as computing the number of connected components. See
the examples here:

https://doc.cgal.org/4.13/Polygon_mesh_processing/index.html#title46

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/






Archive powered by MHonArc 2.6.18.

Top of Page