Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Multi-domain mesh generation with sharp edges

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Multi-domain mesh generation with sharp edges


Chronological Thread 
  • From: Jane Tournois <>
  • To:
  • Subject: Re: [cgal-discuss] Multi-domain mesh generation with sharp edges
  • Date: Fri, 23 Aug 2019 10:18:18 +0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=None
  • Ironport-phdr: 9a23:P4/4KB3pCT9vKZvgsmDT+DRfVm0co7zxezQtwd8ZseMXLPad9pjvdHbS+e9qxAeQG9mCsbQd17Wd6vq+EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCejbb9oMRm7ogfcusYLjYd8K6s61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpGrhy/qRxxw43abo+bO/VxfKzSYdwUSHFdXstSTSFNHp+wYoUNAucHIO1Wr5P9p1wLrRamAQejHuXvxSFVjXHo2q06zv4hEQfB3AwhBNIFrXPZrNfvO6cUT++51rXIzTLeb/NM3zf974nIcgs6rPGDQ71wds/RxlczFwPfjlSQp5bqMC+J1uQKqWia7/BsWv6oi24isgx8pCWkyMkrionMnI0Vy1bE+D1/wIkvPtK3U0p7bsC+HJRMsCGaMpN6Td8tQ25yvCY20LoGuYS0fCQSx5Qo2Rnfa/mZfIiU+BLiVOiRLi1ki3J5f7K/nRaz/VK8xe37U8m51ktBoCldktTUq3wA1B/e5tKaRvZ8/kqtwziC2gHJ5u1aIU05m7LXJ4A7zrItlpcfq1nPEyD0lUnskqOaakEp9+614Or9eLrmvIWTN4pshwH+LKsunsu/DPw5PwQUWmib/uux2Kfm/ULjQbVKiuQ6kq7EsJDGP8gbobC5Aw9P3oYl9Rm/Ey+q0NUenXYZMFJIYA+LgovqNl3UPfz1DPeyj06inTpq3fzKIL3sD5vVInjGirjhfLJ960BGyAo0yNBS/5BUBasHIP3tQEPxqNvYDgIjMwyyxObnCc5925gRWW2RBa+ZNb3dsUOS5uMvLemDfpMauCr6K/g/5//il2M2mVgYfaWxx5sYdGi4Huh6I0WeeXfjntgBHn0OvgYnUePqiUaCXiJOZ3apRKIx/So7CYKjDYfbXI+hmr2B3CGhHp1XfG9KEF6MEW27P7mDDvwDYSbXLs56mSEfTpCgTZUg3FegrlzU0b1ie8jd/CBQiZX+zt5y5vabwRM78zEyE8OAyWeKTnpckW4PQjIqxrFxqEdhzU2Sl6N/hqoLRpRo+/pVX1JiZtbnxOtgBoWqA16TTpKyUF+jB+6eL3QpVNtrmo0BbkF4Fsm4nx7K1DatGa5TnLuOVsRto/DsmkPpLsM48E7okawojl0oWMxKbzT0iaN48gXPHZ/Hmk6FkLy7M68b2XyVrTrR/S+1pEhdFTVIf+DFUHQYPBeE85L84R+ESravDfEgLxcHztCCbK1Hdo+xgA==

Hello,

you can adapt the hybrid domain example by replacing the CGAL::Polyhedral_mesh_domain by a CGAL::Polyhedral_mesh_domain_with_features_3.

Then you should be able to use detect_features().

If you knew the polylines a priori, and regarding the images you sent, I think the most adequate mesh domain would be the Polyhedral_complex_mesh_domain_3 [1]

Jane.


[1] https://doc.cgal.org/latest/Mesh_3/classCGAL_1_1Polyhedral__complex__mesh__domain__3.html


Le 22/08/2019 à 20:36, imperin a écrit :
Hello Jane,
Thank you for your answer. But it does not work :(
I am trying to mesh intersecting domains with detect_features(), but the
output mesh includes: bounding box mesh and sub-domains meshes without
detect_features(when On can not mesh).(See Pic.1)

I found out an example for meshing Hybrid domain[1], changed it for
Polyhedrons and it works for several Polyhedrons and saves mesh for each sub
domain(Pic.2), but I can not use detect_features() function because it does
not support it and I do not know polylines of input files.
[1]
https://doc.cgal.org/latest/Mesh_3/Mesh_3_2mesh_hybrid_mesh_domain_8cpp-example.html

Could you please tell me what to do?
Thanks
<http://cgal-discuss.949826.n4.nabble.com/file/t376139/bounding_sub_domains.png>
<http://cgal-discuss.949826.n4.nabble.com/file/t376139/without_features_detection.png>




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

--
Jane Tournois, PhD
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/




Archive powered by MHonArc 2.6.18.

Top of Page