Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex
Chronological Thread
- From: Guillaume Damiand <>
- To:
- Subject: Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex
- Date: Tue, 03 Feb 2015 13:14:13 +0100
Le 03/02/2015 10:22, Pranav a écrit :
Guillaume Damiand wrote
Which version of cgal ?Compilation error is fixed now. I was passing /void/ as template arguments
Do you have a minimal example ?
Are you sure this error comes from the call of sew3_same_facets() ?
Because this function is called in the linear cell complex which
compiles on many different os and compilers...
for /onSplit/ and /onMerge/ functors in /CGAL::Cell_attribute_with_point/
class which I should have left uninitialized as they are initialized as
/Null functors/ by default.
But I would like to know whether we need to write functor for merge(which
may happen during /sew3_same_facets()/) in the case when both vertices have
same information unlike the example given here
<http://doc.cgal.org/latest/Linear_cell_complex/Linear_cell_complex_2linear_cell_complex_3_with_colored_vertices_8cpp-example.html>
where merging vertices may have different color information(thus requiring
averaging)?
It depends what you want to do with your attributes.
The default behaviour when two attributes are merged is to keep the first one. It could be ok for some applications.
If you need another behaviour, you need either to define your own onmerge functor, or a second possibility is to apply a post-processing on your attributes to modify their values.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Implementing-tetrahedral-mesh-with-cavities-using-Linear-cell-complex-tp4659399p4660385.html
Sent from the cgal-discuss mailing list archive at 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:
smime.p7s
Description: Signature cryptographique S/MIME
- Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex, Pranav, 02/03/2015
- Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex, Guillaume Damiand, 02/03/2015
- Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex, Pranav, 02/03/2015
- Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex, Guillaume Damiand, 02/03/2015
- Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex, Pranav, 02/03/2015
- Re: [cgal-discuss] Implementing tetrahedral mesh with cavities using Linear cell complex, Guillaume Damiand, 02/03/2015
Archive powered by MHonArc 2.6.18.