Subject: CGAL users discussion list
List archive
- From: Tony Apicella <>
- To: "" <>
- Subject: Re: [cgal-discuss] Help to read a mesh written with output_to_medit.
- Date: Fri, 29 Jan 2021 21:40:34 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epmap-system.com; dmarc=pass action=none header.from=epmap-system.com; dkim=pass header.d=epmap-system.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cSdor8gIlmiU6NBmW0o1UIltiC1kc5NqZVyfqPEemrY=; b=kEUeWgSGHDgWpyOTIv7z3Qc+8pborfWcNSKKtYs5wWADwK5YcAZgAOsObDLN96F+rgOIRh9atRh4mDADzpD5DWD0/V1mQ+y8L/kGxH6Q/h3Ou8Y0eFVvmkjAnOmuYqH3s+WEx0BpAb340atPXDlh2EPtPTB9WzR2i/qYxSYe019YuuneE0wCX4c2CVimyjyIEv8D5paU6dXaKEaDPCvV3u7GBMEGyWNXFToyZNGv8XxxoQl2EObl7c0aHbvvA0UXCPAHc36tLwl1A/vHz41JQKrt2+fDMWWOTJ1F3IWRfkSSnmvHX4flmQycb0dtCREhd5PlPDGUdXkQnoSWqSqG5g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i4UIJkI15YgsrxmxI66Atdohib7TJK/a2wQIhNCRdM/wCdGBlJT7QalyU8YhlG2+SD67sxg2kFqGbk4W9y7PBxR91SjAWhTQzaidcsXpCsnkU++pGx6WYYv6uPD8VHvNvc2iGT4p6ubsYBZhVM6SEYWWVc4eZndXpguMNhd08wpbe9zDXb0e2F+6y0mwNTRmvaCd69Y+8WZKkDoj/XPghw7D/gOZp1ywuI0eUVen3pn51QRVB3xRey4Swn9NNejTySOa4aubGVGOLul4vYJzhmqpjhyGPS2xp9IfJYXuW2YLMiArjW56pHDRZCalE3ig7HogK6b1uAha1e8VNCEJTQ==
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=Pass
- Ironport-phdr: 9a23:ZCl4VhJrsnQs4jcxztmcpTZWNBhigK39O0sv0rFitYgXKPT5rarrMEGX3/hxlliBBdydt6sVzbGM+Pm6AyRAuc/H7CldNsQUFlcssoY/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVImbuv6FZTPgMupyuu854PcYxlShDq6fLh+MAi6oR/eu8ULhYZuMKg8xgXGrndVZeha235jKVaPkxrh/Mu984Nv/iZKt/4968JMVLjxcrglQ7BfEDkoKX0+6tfxtRnEQwuP538cXXsTnxFVHQXL7wz0U4novCfiueVzxCeVPcvtTbApQjui9LtkSAXpiCgcKTE09nzch9Fqg6JapBKhoAF/w5LRbYqIOvdyYr/RcNUHTmdHQ81fVTFOApmkYoUPEeQPIPpYoYf+qVsArxS+BBWjC+z0xzBSmnP6wbc33/g9HQ3b2gErAtIAsG7TrNXwLKocT+e1zK/IzD7ec/5WwTb955TWfRAlpfGDR697fM3NyUkoEQPEjk+fqZTkPzyJyOsNt2yb4PB7WO2xk24nrht+oiC2ysc3iojJnZ4VxU7B9Slj3Ik1Iti4RVd9bNW5H5ReqzuUOJFqQsM+XW5ooiA6x6UItJKnciUHx5QpyhDcZvCbcoWF/hLtWuieLDpkmH9pZLayiwu9/EWgyuPxV8q53VRKoCdEjtTBt34A2hzQ58SZTPZ240mv2TGK1w/J6+FEJ1g5lavdK547w74/jIAfsUrZHiLwhU74j7eWe10r9+S08ejrf6nqq52GO4NplA3zML4il82+DOggLAQDXnSX9fm52bDi8kD0QrBHg/0onaTarJzXIN4Uq6ylDANJ14su7wqwACmo0Nkdk3kKLFFIdwyCgojnOVzBPe70APKjjFiyjDhmxejKMqPgD5nRIHXOlartcapn5ENdzQc81s1T645RB7wOJf/+X1L9udPeAxQkKQK72fznB8941o4GWWKAHKuZMKTKvFGG6ewgLfWAaJIMtDvgJPYp++fijXgillADZ6Wp2oYXaGyjEfRhPkWZZ2fjjs0ZEWcQuQo+UPLlh0GeUT5SYHayWbgw5jYmCIK6CYfDQYetgL+b0CinGZ1WY3hKClGKEXj2a4WJQ/gBZD6ILsN8jjAJV6KtR5I/2RysrgP3yrtqIvLR+iICtJLj0NZ15/fUlRE37TF0E8Od02eNTm5uhmMIRiM50757oUx50FiOyrZ3g+RdFdNJ//NFSxw6NJ7Hz+xmFd/yXxjNccuOSFajWtmmGy0+Tsotw98SZEZwA8mtjh/Z0CquGrMair2LBIco/aLBxHjxPN1wy23G1akkl1kpWNFDNWyghq5l9gjcHZTFk0uDl/XiSKIHwSSY9Huf1XHc+wZDQQtoWOPEW2oebw3Yt5Pi90baRvivD7ogdQBOwMrHJqpRYcDylgZ7Quz+MvTCZmbkm3usHQ3agfSXfY/yciMc2j/cAQ4KiUcI7HOePE8/ACmm5GnRBTgrGVP0aF736rpDrmimRHM53x3fb1F9z6HnvVkOlPmEQrUS2KgFsWEvsXJvDVOl1pXXDdSH4AFudaEZbdIm60pczjHlsFk3NZOpK+Vuh0UVbh9sl0LozRR+TIta24B+p3wjyE9+KLmTzUhaXzKex5H5fLPNfDrc5heqPpLR3ECW+c6X8aoL7P1w/0nkuhCgDksp/nFj2vFYy36V/tDRHREOXJe3WUEyoUsp74rGazUwstuHnUZnNrO552ebh4AZQdA9wxPlRO9xdbueHVaiQcACAsG2bfc7gESka1QPO+UArPdpbfPjTOOP3euQBMglnD+iijgYsqxQ7xrVsgBREqvP1ZtDxOyE1AyaUTu6lE2mrs38hYFDY3cVA3a7zi/nQoVWY/8rJNdZOSKVO8Syg+5GqdvoUn9c+kSkAgpWisKxfBOKKkfsxhFd0AIcpnn1wCY=
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 to
convert 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.
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
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
- [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+.