Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Joining Faces for any Mesh - What's the Most Fitting Data Structure?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Joining Faces for any Mesh - What's the Most Fitting Data Structure?


Chronological Thread 
  • From: one_eyed_cat <>
  • To:
  • Subject: [cgal-discuss] Joining Faces for any Mesh - What's the Most Fitting Data Structure?
  • Date: Mon, 24 Feb 2020 13:03:06 -0600 (CST)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
  • Ironport-phdr: 9a23:VGvlSB1gNuLaDKXssmDT+DRfVm0co7zxezQtwd8Zse0RK/ad9pjvdHbS+e9qxAeQG9mCt7QV06GP6vCocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfLx/IA+yoAnNucUanJZuJ6UswRbVv3VEfPhbymxvKV+PhRj3+92+/IRk8yReuvIh89BPXKDndKkmTrJWESorPXkt6MLkqRfMQw2P5mABUmoNiRpHHxLF7BDhUZjvtCbxq/dw1zObPc3ySrA0RCii4qJ2QxLmlCsLKzg0+3zRh8dtjqxUvQihqgRxzYDUfo+bN+dwcazBct0VXmdBQt9RWzBdDo+gc4cCDewMNvtYoYnnoFsOqAOzBQ6qBOzx0jBHmH/30rMn3Os5DQ7JxhAgFM8JvXvIo9X6LqMSUfmozKbW1jXDc/JW2TD76IjTaR0hrvSMUqhxccrV00UgCwTFjlCJpIHjIjib2OMNs22B4OphU+Kik3Ioqw5rrTir3MssjZPJho0NxlDC7yp22506JdmmR0JhfdGkF55QuieHPIV1WsMvW3xktSI+x7Ect5O2fzIGxZcmyhLFavGKco6F6Q/5WumLOzd3nndldaq/hxms9UigzfXxVs+73VpQqCpKiMLDuWsJ1xPN8MSIVvx9/kK51TaO0QDc9P1ELFgpmaffL5Mt2LA9m5kJvUnAHyL6gkT7ga6OekUh4Oeo6uDnYrv8pp+bMo95kh3xMqs0lcy7GOQ4LxYBX3OH+eS9073j+1b5Ta5Fjv0ziKbZsZTaKd4Hqa6+Bg9Zypwj5AqnDze6zNQYmmEKI05KeB2di4jlIkzBIPHjDfijnlSsiyxryuvdPrzhB5XNNmLMnK3gfbZ78U5cyRA8wcpR55JOWfk9J6f4VUb18dDZFRQkKBecwuD9Cdw72JlNd3iIB/qeNq7lvE6F6tUkKvXEMIQasTLkNvU++//pi2QRlloUfK3v1pwSPiPrVs96KlmUNCK/yuwKFn0H61JnHb7azWaaWDsWXE6cGqc15zU1EoWjVN6RSYWkgbjH1yC+TMYPOjJ2T2uUGHKtTL2qHu8WYXvLcMBkmz0AE7OmTt15jEz8hErB07Nia9Hs1GgYuJbkjYUn4bGVkxg4/zh5Sc+a1jPUQg==

Hello everyone,
I would like to reduce a model's complexity as much as possible by merging
adjacent, (nearly for an ε) coplanar faces. The model's surfaces can be
closed or contain holes. Currently. I am using a Polyhedron with plane
equations (like here
https://doc.cgal.org/latest/Polyhedron/Polyhedron_2polyhedron_prog_planes_8cpp-example.html
<https://doc.cgal.org/latest/Polyhedron/Polyhedron_2polyhedron_prog_planes_8cpp-example.html>

), iteratively iterating the halfedges and calling `join_facet`when needed
until there's nothing left to merge. However, I encounter problems like
antennas for more than one overlapping edge for adjacent facets or
overlapping edges in the same facet, ending up trying to merge with itself
in the merging process which makes me doubt my approach (examples appened).
I get the feeling I would have to consider a lot of factors and edge cases
if I am staying with `join_facet`. So I wonder if Polyhedron is really the
right class to use regarding the joining of any faces and not having exactly
coplanar surfaces.
If you could help a newcomer out with your experience, that would make my
day :)
Best regards
<http://cgal-discuss.949826.n4.nabble.com/file/t376194/resulting_antenna.jpg>
<http://cgal-discuss.949826.n4.nabble.com/file/t376194/overlapping.png>



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/



Archive powered by MHonArc 2.6.18.

Top of Page