Subject: CGAL users discussion list
List archive
- From: Guillaume Damiand <>
- To:
- Subject: Re: [cgal-discuss] Visualize non-2-manifold object
- Date: Thu, 8 Oct 2020 10:20:46 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:XSBTHBdB3j7/dqqio2l6f+NilGMj4u6mDksu8pMizoh2WeGdxc26ZhyN2/xhgRfzUJnB7Loc0qyK6v+mBTxLuczJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MRe7oR/eu8QVjoduNrg9wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMTMy7WPZhdFqjK9DvRyvuRJ/zY7Xbo+bOvVxcaHScs8BSGpOQspcTTBMDp+yYoYNCecKIOZWr5P6p1sLtRawBBSsBOLryj9MnHD2wKg63Po8Gg/IxgMgGtMOv27SrNroKawfVu+1zLTJzTXHa/NZwyr96I3WfRw7vP6DR7dwccvLxkkpCgzIlVGQqY3/PzOUzeQBqXSU7+x6VeK0kWInpRtxryGpy8wxhYbHmpgbxUrY9SVl3ok1P9u4RVZnbNK4FJZduCOXOoR4T888TW9lpTs2x7kbtZOlcyUH1IgryR7CZvGZfYaG7A7vWuiRLDtlmH5reLCyihas/ES8zOD3S8e60FFPriVfk9nMsGgA1xrJ5cecUfR9+lmu1SyT2ADU7+FIOVw7laXBJJ4l2LIwkYATsUvbEiDqnkX2lrSWel8q+uiy7ensf7bopoeEOoNphAzzPb4iltKiDek3KAQCQmuW9Oem2LH+8kD0Qa1GguMqnqXFrZzXIMUWq6+lDwJQ0osv9wqzAyqj3dgFknQLMldIdw+ag4f1OVzDJf/1APOwjlmtlTpmxO3KMaHvApjINXfMjanucq175kVB0gQ818pf6IhRCrwZIPL8REvxtNvAAxAlMgy02PznCM541oMCQWKDGLKZMKXTsV+W/+4vJ+mNZIgTuDrgMfQl6eTugWc4mV8bY6apwYMaZG22E/lpOUmVf2fgj9gbHWsXvQczT/bmhECNXDNSf3qyWrgz5jA/CIKoF4fDQYWtjaSO3CemH51WYmRGBUqREXftaYqIQeoDZziXIs9giDMEU6WuRpQl1RGvrg/6yqFnIvDI9S0er5Ljz8J55+PJlR0q7zx7E9yd032RT2Fzhm4HWzA207p7oUBk11iD0LN4jOBFFdxI/PNESRw6NJ7Zz+xiEd/+QAPBftGTSFanWNqqGz8xTshii+MJNk1yEtHnghHY1DexGJcUkaaKDdo66PHyxX/0culgynLC3bQkghEKS85OPGuqzvpw6gnXA4fUlkjfm6+vdK0a0AbJ9X2C1iyFultDFgBqB/aWFUsDb1fb+IyqrnjJSKWjXOx+b1lxjPWaI64PUeXHyFVLQPC5ZIbVYnmrgGKsHVCVwLKSKY77fGNEmivHWhBdwlIjuE2ePA17PR+P5mfXDThgD1XqOh6+9ehkqWj9RUku1EeEdR84jubnylsunfWZDsgr8Pccoi549mdwHUy8xJTdDcCb4QR7Lv1R
Hi Ali;
Le 06/10/2020 à 15:34, AliiAsgharii a écrit :
Hi all,
Using Nef_3 library, I have recently noticed that it is not possible to draw
a non-2-manifold object with OFF format by draw_nef_3. I have tried to draw
the following object (two cubes with one shared edge) but nothing showed.
<http://cgal-discuss.949826.n4.nabble.com/file/t376202/Capture.jpg>
Could CGAL enable us to draw and visualise this type of objects? Are there
any solutions for handling this situation in CGAL?
You can visualize a non manifold object using Nef_3 and the draw function.
But a Nef_3 object can not be created from a non manifold off (cf doc here https://doc.cgal.org/latest/Nef_3/index.html#title8).
One possible solution is to split your object in several off files, each one being an oriented closed 2-manifold.
Then you can load each off into one Nef_3 object, and merge all the objects in one Nef_3 using for example the Nef_nary_union_3 class (cf. https://doc.cgal.org/latest/Nef_3/classCGAL_1_1Nef__nary__union__3.html).
Best
Guillaume
PS: Attached a snapshot of the draw, using two cubes from two different off files.
Best regards,
Ali
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
--
===================================================================
Guillaume DAMIAND
CNRS - LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Tél: +33 (0)4.72.43.14.34 Fax: +33 (0)4.72.43.15.36
Mail:
Web: http://liris.cnrs.fr/guillaume.damiand/
===================================================================
Attachment:
Capture d’écran de 2020-10-08 10-13-52.png
Description: PNG image
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
- Re: [cgal-discuss] Visualize non-2-manifold object, AliiAsgharii, 10/06/2020
- Re: [cgal-discuss] Visualize non-2-manifold object, Guillaume Damiand, 10/08/2020
- Re: [cgal-discuss] Visualize non-2-manifold object, AliiAsgharii, 10/08/2020
- Re: [cgal-discuss] Visualize non-2-manifold object, Guillaume Damiand, 10/08/2020
Archive powered by MHonArc 2.6.19+.