Subject: CGAL users discussion list
List archive
- From: Maxime Gimeno <>
- To:
- Subject: Re: [cgal-discuss] Help to read a mesh written with output_to_medit.
- Date: Mon, 1 Feb 2021 08:57:13 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:i1DlXxzqtodlW9bXCy+O+j09IxM/srCxBDY+r6Qd0uoeLvad9pjvdHbS+e9qxAeQG9mCurQf1KGP6/6oGTRZp8rY7zZaKN0EfiRGoP1epxYnDs+BBB+zB9/RRAt+Iv5/UkR49WqwK0lfFZW2TVTTpnqv8WxaQU2nZkJ6KevvB4Hdkdm82fys9J3PeQVIgye2ba9vIBmsogjdq80bjZFsJ6szxRfFv2dEduVLzm9sOV6fggzw68it8JNh6Shcp+4t+8tdWqjmYqo0SqBVAi47OG4v/s3rshfDTQqL5nQCV2gdjwRFDQvY4hzkR5n9qiT1uPZz1ymcJs32UKs7WS++4KdxSR/nkzkIOjgk+2zKkMNwjaZboBW8pxxjxoPffY+YOOZicq7bYNgXQ3dKUMRMWCxbGo6zYIUPAOgBM+hWrIfzukUAogelCAa2GO/i0CVFimPq0aA41ekqDAHI3BYnH9ILqHnaq8/6NagTUeCw0qbD0DTNb/JT2Tjj7ojIdQ0qrPaJXb1qfsvRyEwvGB3fglWfqIzlOi2a1uIKs2WA4OpgUPigi28jqw1rvjevwcIsh5DPi4kIxV/K6T93z5wpJd2kVkF7e9ikHYNeuiyVOIZ6X8MsTW5mtSsk1rALuJG2cDYFxpkm2hLSd/OKf5WH7x//V+udPSt1iG5qdb+jiRi/8UeuxvHhWsWo1ltBsyRLkt7Jtn8X1hzT7NCKRedy/ki73TaDzQfT6vtLIUwslKrbLYQhwr8qmZYJv0TDBCn7k1j1gq+Obkgo5PSk5uD9brjlppKQLZJ4hwD8P6g0h8CyA+s1Pw4TVGaB4+u8zqfs/UjhTbVKkPI2lq7ZvYjfJcsBp665BxZZ0oEi6xqiFjum3skUkHsIIV5fdxKHiI/pO17KIP/mF/uwn1OskDJzy/DHOL3uHInNI2DdnLv9ebtx8U1RxQopwdxC5p9ZCKsNLO/xV0L+rNDYCwU2Mw2ww+bpEtV90YYeVHqKAqCDP6LSsFqI6fw1L+mDZY8VvSjyK/4i5/P1gn85nEUSfait3ZcNdH+4GfFmL12DYXXwmtcBDXsKvg0mQeP2h12NSzpTa2+vUKI9/TE0FJ+mDZzYRo22m7yA3CK7HoVMaWxcC1CMF23od4SeVPsWZiKSOJwprzofSLL0S5M9zQr880jh2r9/J6zV/DcZvNTtzp9u9ujLnFYz8zJzSM+S2mXIQ2BvlX4TXGwL2rtiq2xhz1PW0bRkm+cKUptI9vZRW0E7M4Tdxqp0EZfpSwfZd5CITlihBd6pCDV0QtMqyMIVeBVAHc6/hCzOzzb/A6MJj6fZQ9sv46fE1j7wIdx8wjDIzu46nlw+S4xOM2OhwaVw/gyWC4/SmFiCjPWWcvEX0yfJsWuC1mGTp1pwUQhqUKyDU2pMSFHRqIHc71PDSrLmJrUiPw1GgZqHI7tLb9CvglRDSfHkENvbamO13Wy3AEDblfu3cIP2djBFj23mA08enlVLpCfUBU0FHi6k5lnmInlrHFPrbVnr9LAn+ny+R04wiQqNah84jufnylsunfWZDsgr8PcEtSMm8WsmGV+825fRCoPFqVM+IONTZtQy5FoB3mXc5VQkYs6Qapt6j1tbSDxZ+lv03kwuWIpFmMku6ngtyVgqJA==
Le ven. 29 janv. 2021 à 22:40, Tony Apicella <> a écrit :
I can now save and load the C3T3 using the >> and << operators.
But for the next operation, which is co-refine and union, is there a way toconvert the C3T3 to a SurfaceMesh<K::Point3>?
Thank you
From: <> on behalf of Maxime Gimeno <>
Sent: Wednesday, January 27, 2021 2:28 AM
To: <>
Subject: Re: [cgal-discuss] Help to read a mesh written with output_to_medit.The Mesh_complex_3_in_triangulation_3 class has an `operator>>` that
loads from medit into its internal triangulation, and then calls
`rescan_after_load_of_triangulation()`, which makes medit the default
format for the c3t3. Having it losing some information doesn't change
that.
Le mer. 27 janv. 2021 à 11:04, Laurent Rineau
<> a écrit :
>
> On 1/27/21 9:01 AM, Maxime Gimeno ( via
> cgal-discuss Mailing List) wrote:
> > Hello,
> > medit is the default format read by the `operator>>` of the c3t3.
>
>
>
> No, that is wrong. Medit is only an export format, that looses
> information from the C3t3. There are functions to read a MEdit file, but
> that does not creates back a C3t3, but only a non-Delaunay triangulation.
>
>
> Tony, if you want to save a c3t3 in a file that can be read back, then
> use the `operator<<` and `operator>>` of the c3t3, on a file that is
> open in binary mode. The easiest way is to use the undocumented
> functions from `<CGAL/IO/File_binary_mesh_3.h>`.
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Maxime Gimeno, 02/01/2021
Archive powered by MHonArc 2.6.19+.