Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Mesh_3 -> Triangulation_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Mesh_3 -> Triangulation_3


Chronological Thread 
  • From: Marc Alexa <>
  • To:
  • Subject: Re: [cgal-discuss] Mesh_3 -> Triangulation_3
  • Date: Fri, 11 Jan 2019 17:14:17 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:MnUB0xAcVFgB+B5jqLxJUyQJP3N1i/DPJgcQr6AfoPdwSPTzp8bcNUDSrc9gkEXOFd2Cra4c26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglUhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Xymp4aV2Rx/ykCoJNyI2/m7YhcJtgqxbrgyvqB58zYDTe4yVKON+fqbBcdMaWWZNQMBcXDFBDIOmaIsPCvIMM+FCoInnu1QFsAezBQ2yC+Lg0DBDm3j73agg3OQ7DQ7KxhYvH9YQv3Xbttr4L6gSUeWvw6nJyTXPde9Z2TD46IXRdB0qvP+CXbV1ccXLyEkvERvIjlSWqYz/PjOazP4Bs2aB7+Z4Se2vhHQoqwVrrjio3McshZHFho0LxVDD8CV23po1Jce4SU51e9GrDIdQtyaAN4p2WM8tX2ZouCM8x7YbupC7ZDAHxIo7yxPbcfCKcIiF7gj9WOqNIjp0nn1odb2nixqv/0Ws1vfwWtS73VtOtCZJj9vBum4X2xDO98SKSv1w9Vq71zmVzQDc8ORELFg0laXFL54hxaY9lp8JvkTCGi/6gVv5g7KLekk99Oil5Ovqbq/ppp+bMI90hQX+Pbo0lsOjBuQ4NxACX2md+euiyL3u5VP1TKlOg/EskaTUsIrWKdoHqqO6GQNY3Yku5w66Dzi80dQYmXcHLEhCeBKCl4XpPkvBIOrkAvulmVuslClkxv/cMbD6DZXNK2LMkLblfbpn90Fczw8zwchF551IErEBPO7zWkjpudPEAR82KQi0z//6B9V8zYMRRX+PArSCMK7Jql+J5ucvI/GWa4MPuTb9LeIl5//0gnMjl18dZ/rh4J0MdXrtHuh6O17LJj33k9IZGCELuBA/RarkkhqZQDtLbjGzWaw7oTo0AYbjAYbYTZ22m++923KwEZRSI2xHEVuRCmzAdoOeWv5KZjjBDNVml2khXKKqA6Yl2AGn/Fv/wqBsaOPQ9z0RnZ3m3dlxoebUkEdhpnRPE82B3jTVHClPlWQSSmpuhfEtkQlG0l6GlJNArbldHN1X6elOV15jZ5HZxu1+Tdv1X1CYJ4vbeBOdWtyjRAoJYJcp2dZXOhRyHtyjilbI2C/4W+ZIxYzOP4Q99+fn51a0J8t5zCybhqwojl1jT8cWcGP62uhw8A/cA4OPmEKcxf6n



> On 11. Jan 2019, at 11:20, Laurent Rineau (CGAL/GeometryFactory)
> <>
> wrote:
>
>>
>
> There is no valid solution to that problem, unless your own
> `Triangulation_3`
> type keeps a Boolean field for each cell, indicating whether or not the
> cell
> is part of the mesh.

I wrote my own solution and I realized this. It seems the domain boundary
need not be manifold.

If I used the converter as you indicated below, would it add tetrahedra with
an infinite vertex during the conversion?

Thanks!
-Marc


>
> When the cell converter must be wrote that way:
>
> Cell_converter
> {
> Triangulation::Cell operator()(const C3t3::Triangulation::Cell&
> input_cell)
> const {
> Triangulation::Cell output_cell;
> output_cell.is_in_domain = ( input_cell.subdomain_index() != 0 );
> return output_cell;
> }
>
> void operator()(const C3t3::Triangulation::Cell&,Triangulation::Cell&)
> const
> {}
> };
>
>
>
> --
> Laurent Rineau, PhD
> R&D Engineer at GeometryFactory http://www.geometryfactory.com/
> Release Manager of the CGAL Project http://www.cgal.org/
>
>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>




Archive powered by MHonArc 2.6.18.

Top of Page