Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL Is there a way to slice the mesh and check the connectivity?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL Is there a way to slice the mesh and check the connectivity?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL Is there a way to slice the mesh and check the connectivity?
  • Date: Tue, 18 Feb 2020 08:58:04 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:f6rOHR04A2BdjhXFsmDT+DRfVm0co7zxezQtwd8ZseMVLvad9pjvdHbS+e9qxAeQG9mCt7Qb1KGP6viocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLx/IA+0oAjTucUanJZuJroswRbVv3VEfPhbymxvKV+PhRj3+92+/IRk8yReuvIh89BPXKDndKkmTrJWESorPXkt6MLkqRfMQw2P5mABUmoNiRpHHxLF7BDhUZjvtCbxq/dw1zObPc3ySrA0RCii4qJ2QxLmlCsLKzg0+3zRh8dtjqxUvQihqgRizYDKboGbNPlwcK3TctwVR2VOQslfWjddAo6+dYYDE/YNMOhaooT7ulAArQG+BQ6pBO73xDNGm2H50rYg3OQ6DQHG3RIvH9QTu3rSq9X1LqYSUeepzKLVyTnNbu1Z2TD46IfWbhAhu/GNU7JqfsXN1UkvEBnFj1WVpYDrIjiY0f8Ns2yc7+p6VOKvjHInpxt0ojir3coshYzJiZgUylDA7yl23IE1JdihRUN9fNWqHpxQtySAOIt3RMMvW31nuCkgxb0Co5K7ezIKyJs/yx7ZcfOIaJOH4hb9W+qLPTh4g3dldbSijBix6Uit0vPwWtWw3VpQrSdIksPAum4T2xDO8MSKRfRw8l+/1TmVywzf9+RJLl4omaXBLpMt3KI8mocWvEnMACP5hln6gaqYdkgk4Oek9+Hqb7rnq5KYK4B5jwDzP6Avl8yxBOk1MAYOUHWU9Om6ybbt51f2QK9Qgf0ziqTZsI7VJcAcpqOhBg9ayIcj6xKmAzaoytQUgGALLFxKdR+IlYTpNFbOIPf3Dfe7nVugiitkx/fDPrH5A5XNKGbMkKv5cLpj90JRzBA/wNNf6p5OFL0NPu//VlX+udHXFhM5Nha7w+fjCNVzzIMeXmePD7eCMKPWtl+I/OMvI+6QZIMPvTb9L+Mo5/HrjXAjmF8debOl0ocQaHC9BvhmOVmWYWLwgtcdFmcHphYxTOPwh12GSDJceneyX7kg6TEmE4KmFpzORputgbyExCe0BIdaZmFAClCWEHfnbZ+IW/kWaHHaHsg0mTMNUf2tSpQqyAq1nA780btuaOTOqQMCspe2nuN47eTIiRA/83RQCN6c1H3FD055mWYFWyUn8ql0vUtn2xbJmfxjh/tCFNtPofZNegg/PJ/Yied9DoahCUr6Yt6VRQP+EZ2dCjYrQ4dpmoJcUwNGA9ynyyv78W+qDrsSzeHZAZU19ufDxSG0KZohjXnB06Ylgh8tRc4dbTT31J46zBDaAsvyq2vckq+rcaoG2yuUrTWMyGOPuAdTVwsiCPyZD0BaXVPfqJHC3m2HV6WnUO11PQ5IyMrEIaxPOIXk

You can have a look at the function connected_components():
https://doc.cgal.org/latest/Polygon_mesh_processing/group__keep__connected__components__grp.html#gabe2052b2281e1e628e68d8fea94be2d9

Adding your yellow edges as constrained in the edge_is_constrained_map named parameter will give you the number of components.

Best regards,

Sebastien.

On 2/12/20 1:04 PM, Frank Dz wrote:
I also noted that in https://doc.cgal.org/latest/Surface_mesh/index.html
there is a description of the half-mesh connectivity:

The connectivity is also stored in properties, namely the properties named
"v:connectivity", >"h:connectivity", and "f:connectivity". It is quite
similar for the marker of deleted element, where we have >"v:removed",
"e:removed", and "f:removed".


but it is about the connection among the data structure not the
connectivity of the graph.





-----
be open, be creative, be critical
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/




Archive powered by MHonArc 2.6.18.

Top of Page