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: Wed, 27 Jan 2021 11:28:10 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:uSWJ8Bwidr53mgTXCy+O+j09IxM/srCxBDY+r6Qd0uoWIvad9pjvdHbS+e9qxAeQG9mCurQe26GO4+igATVGvc/e9ihaMdRlbFwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfQV6Kf7oFYHMks+5y/69+4HJYwVPmTGxfa5+IA+5oAnMssQam5VuJ6U+xhfVoXZDZuBayX91KV6JkBvw+8W98IR//yhMvv4q6tJNX7j9c6kkV7JTES4oM3oy5M3ltBnDSRWA634BWWgIkRRGHhbI4gjiUpj+riX1uOx92DKHPcLtVrA7RS6i76ZwRxD2jioMKiM0/3vWisx0i6JbvQ6hqhliyIPafI2ZKPxzdb7bcNgHR2ROQ9xRWjRODYOybYQBD+QPM+VFoYfju1QAogCzBRW1BO711jNEmmP60K883u88EQ/GxgsgH9cWvXrTttr0O6YSUeWrw6LVzDvDbvZW1in76IjPbxsspvSMUqh/cMrQzEkgCRnJjlqRqYzgITyV0OMNvnOU7+plT+2vimonpxttrTiow8chk4/EjZ8axV7Y7yt22po1JcGmR05hZ96pCJRduiKVOoZoX88vX2NltTg1xLMJtpO2fisHxYklyhPdd/GKcYaF7wz/WOuVITp0mnJodb28ihiy80WtyO3yWMey3V1XoCRFldzMuWoM1xzV8sWHS/19/l2g2TmVzQzT5PtELEYpnqTYM54s2qA8moYXvEjZHSL7mF/6gLKXe0gm4OSk9ubqb7Hgq5SBLYF7kBv+Pb4rmsGnAeQ3LAwOX2+D9OS5zrLj/En5TKxNjv03j6XVqZ7aKdkZq6O9GQNV3YEj6xGwDzeiztsUh2UILFVAeB6fjojpPU/BIOzgAPuhn1ihlC1nyvPGM7H7H5nAL3rOnK38cbt/70NQ0A8zwspe55JQBLEBOvXzWkrpudzdFBA4PA20w+P5B9ln2YMeWGePDbGfMKPVqlKI6ecvLPONZI8RojryN/8l5/v2gX8jhVAdZbWp3YcQaH2gAvtmLF+WYX71jtgcEGcKpRYxTPHxiF2ZSjNTfHazX6ck5j4hEo6mDIHDRpqsgLObxiu7EIdWNSh7DEuRGyLoa5mcQKVLLzmDJ9do1D0CT7moDYE7kgq/sRfzjLthIO2T8SIRsdfv1cN++vbIxiw07iF+M8mNzzSNU31shTFPACQn2bh250170FaKl6ZixOdJEMRaoPJPXAB9PpHVy6l2Csv5RxnaLeuOHV2pS9HjDTAqRc8q2PcPZVx8EpOslEPtxS2vVpoch72OCdQb86fR2X+5c8N023fD2e8ujlwrRMxnOmivh6o5/A/WUd2a236FnrqnIPxPlBXG832OmDLX4BNoFTVoWKCAZkgxI1PMpI2gtEzHRr6qT78gN1kZkJ/QGu5xctTsyG5+arLmMdXabXi2nj7pVxmNz7KIKoHtfjdEhXiPOA0/iwkWuE2+G00+CyOm+TyMCTVvERfoYhqp/7Ah+TW0SUg7ywzMZEpkheK4
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
>
>
- [cgal-discuss] Help to read a mesh written with output_to_medit., Tony Apicella, 01/27/2021
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Maxime Gimeno, 01/27/2021
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Laurent Rineau, 01/27/2021
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Maxime Gimeno, 01/27/2021
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Tony Apicella, 01/29/2021
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Maxime Gimeno, 01/27/2021
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Laurent Rineau, 01/27/2021
- Re: [cgal-discuss] Help to read a mesh written with output_to_medit., Maxime Gimeno, 01/27/2021
Archive powered by MHonArc 2.6.19+.