Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?
Chronological Thread
- From: Sascha Zelzer <>
- To: "" <>
- Cc: vargap <>
- Subject: Re: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?
- Date: Sat, 05 Jan 2013 23:01:38 +0100
Hi,
just to let you know, I had the same requirement as well as compiler errors.
Having looked at the CGAL code it seems that the Mesh_facet_criteria_3 template is missing a constructor overload which could take a variable sizing field for the facet distance (CGAL version 3.9). As you said this is in contrast to the documentation for the "facet_distance" criteria here http://www.cgal.org/Manual/3.9/doc_html/cgal_manual/Mesh_3/Chapter_main.html#Section_50.2
- Sascha
On 01/05/2013 10:44 PM, vargap wrote:
Dear All,
I have three scalar fields of type Mesh_constant_domain_field_3 which I'd
like to use as sizing fields to control the
- facet size
- facet distance
- cell size
of the c3t3 (Mesh_complex_3_in_triangulation_3) mesher by means of the
Mesh_criteria_3, similarly to the example '51.3.4 Using Variable Sizing
Field / Different Sizing Field for Different Subdomains' provided in the
online manual.
My addition compared to that example would be:
Mesh_criteria criteria(facet_angle=30, facet_size=size_facet,
facet_distance=size_facet_dist,
cell_radius_edge_ratio=3, cell_size=size_cell);
with size_facet, size_facet_dist and size_cell being of type
CGAL::Mesh_constant_domain_field_3<Mesh_domain::R,Mesh_domain::Index>
Even though the manual mentions that all of these three criteria can be
spatially variable scalar fields, for some reasons, I cannot compile the
code unless I put a simple scalar value as the facet distance criterion
(scalar field works fine for the other two).
Does anyone have an idea why do I get an error (a very-very long error
message during compilation) here?
Many thanks,
Peter
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/3D-meshing-error-using-scalar-field-to-control-facet-distance-tp4656446.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] 3D meshing error - using scalar field to control facet distance?, vargap, 01/05/2013
- Re: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?, Sascha Zelzer, 01/05/2013
- Re: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?, Peter Varga, 01/07/2013
- Re: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?, Sascha Zelzer, 01/07/2013
- Re: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?, Peter Varga, 01/07/2013
- Re: [cgal-discuss] 3D meshing error - using scalar field to control facet distance?, Sascha Zelzer, 01/05/2013
Archive powered by MHonArc 2.6.18.