Subject: CGAL users discussion list
List archive
- From: sindhu r <>
- To:
- Subject: [cgal-discuss] Removing faces from a mesh remove_face() and collapse_edge()
- Date: Thu, 24 Sep 2020 02:17:14 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:bcErUBJx/Gj7BbJcjNmcpTZWNBhigK39O0sv0rFitYgeKfTxwZ3uMQTl6Ol3ixeRBMOHsq0C0rWd4vmoGTRZp8rY7jZaKN0EfiRGoP1epxYnDs+BBB+zB9/RRAt+Iv5/UkR49WqwK0lfFZW2TVTTpnqv8WxaQU2nZkJ6KevvB4Hdkdm82fys9J3PeQVIgye2ba9vIBmsogjdq8sbjZF/JqszxRfEpmZEcPlSyW90OF6fhRnx6tqx8ZJ57yhcp/ct/NNcXKvneKg1UaZWByk8PWAv483ruxjDTQ+R6XYZT24bjBlGDRXb4R/jRpv+vTf0ueR72CmBIM35Vqs0Vii476dqUxDnliEKPCMk/W7Ni8xwiKVboA+9pxF63oXZbp2ZOOZ4c6jAe94RWGhPUdtLVyFZDYyyb4UBAekcM+hGs4bwvF4OoQekCAS2GO/j1j1Fi3nr1qM6yeQhFgTG0RQ7H9IPtnTbsdX1NLoPWuCv0aLFyi7Db/JQ2Tvn9IfHaAohofWSUrJsdsrRz1IiFwzAjlqKqIzlOymZ2fgKs2ie9udtU/+khGE7pQ9ruDev2tsshZfThoIT0l3J6yV0zoYpKNCkR0N2fd2pHZleuiyEKoZ4TMwvTn10tCs5xbMLt522cicIxZonxhPTdeGKf5SV7xzjWuufLzR1iXR4c7y8nxa/6VasxvH4W8Wu01tHrjBJnsTNu30MzRDf98qKR/R780y8wziAzRrT5ftBIU0slarUNZohwrkom5oWq0vDHyv2lFz3jK+Sa0ko4+ao5/nlb7jpvJOcOIh0igbxMqQqhMOzG/g3Mg8LX2SD+OS80qPs/VHhTblUkvE7lrPVvZPaKMgBu6K0Ag5Y3pw+5xu9ADqqyNEYkmMGLFJBdhKHlY/pO1TWLfDjDPe/hU6gnytxyPDcOr3uHInNLn/FkLr6crZ97lRTyAs3zdxF+51UDbQBLOrpWkDtrNzYEgM5Mwuszun7B9VyzIceVXuSDa+YK6PdrUKI5vk0I+SXf48UuDP9K+A/6PL0jH85n0Udfaiz0pcNZnC4BKcuH0LManXlhpINEHwBoxElZO3sklyLFzBJNFioWKdp/TA9BIK7RZ2LEpushvqK1T2/E4FRYEhJD1mNFTHjcIDSCKREUz6bPsI0ym9MbrOmUYJ0jUjz5j+/8KJuK6/vwgNdtZ/n04IrtejalBV39DgtSsrEjD3LQGZzkWcFATQx2fIn+BAv+hK4yaF9xsdgO5lL/foQC1U1MJfdy6pxDNWgAluQLOfMc06vR5CdOR90S9swx9EUZEMkQoetixnC22yhBLpHzrE=
Hello,
I need some guidance towards the right tool/package for use for something I'm having trouble with. In short:
a. How can I simplify a block of faces within a surface mesh (not on boundary) to one big face?
b. (Alternatively) How can I recursively/ or as a whole, remove a block of faces (not on the boundary of surface mesh)?
What I have done so far:
I currently have a planar surface mesh and would like to remove a block of faces not located on the boundary. Specifically, all faces associated with vertices that lie within distance of 1.5 from the centre of the mesh at (3,3,0). Using CGAL::Euler::remove_face() removes the face; however not all faces are removed; see image attached. I'm assuming that the emptiness caused by the removed face violates the boundary pre-condition of remove_face and hence does not remove the face lying next to an empty space. (Please correct me if this understanding is wrong.) So I'm unable to remove the block of faces.
I also tried CGAL::Euler::collapse_edge() as an alternative to/ in conjunction with remove_face, but I'm probably missing a better way to accomplish the task.
Could you please guide me towards the right package/ function/ documentation?
Thank you very much!
Regards,
Sindhu R
Attachment:
locate_remove_330_rad1.5.png
Description: PNG image
- [cgal-discuss] Removing faces from a mesh remove_face() and collapse_edge(), sindhu r, 09/24/2020
Archive powered by MHonArc 2.6.19+.