Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (CGAL/GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: Problem with make_mesh_3
- Date: Mon, 30 Jul 2012 12:43:57 +0200
- Organization: GeometryFactory
Le lundi 30 juillet 2012 03:20:31 ju21 a écrit :
> Hi again
>
>
> Mariette Yvinec wrote
>
> > yes it is normal if you use as domain :
> > /CGAL::Polyhedral_mesh_domain_3<Polyhedron>
> > <http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3_ref/Clas
> > s_Polyhedral_mesh_domain_3.html#Cross_link_anchor_1534>/
> >
> > If you want the mesh to respect the sharp features of the input polyhedron
> > you need to use;
> > /CGAL::Polyhedral_mesh_domain_with_features_3<IGT>
> > <http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3_ref/Clas
> > s_Polyhedral_mesh_domain_with_features_3.html#Cross_link_anchor_1535>/
> Hi again,
>
> I have a problem to integrate the IGT concept. I tried those templates :
>
> /***************************************************************************
> /
>
> // Kernel
> typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
>
> // Conversion from any 3D mesh to Polyhedron_3
> typedef CgalPolyhedron<K> PolyH;
>
> // Domain
> typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
> typedef CGAL::Polyhedron_3<K> Polyhedron;
> typedef CGAL::Mesh_3::Robust_intersection_traits_3<K> IGT;
> typedef CGAL::Polyhedral_mesh_domain_with_features_3</*K*/IGT> Mesh_domain;
>
> // Triangulation
> typedef CGAL::Mesh_triangulation_3< Mesh_domain >::type Tr;
> typedef
> CGAL::Mesh_complex_3_in_triangulation_3<Tr,Mesh_domain::Corner_index,
>
> Mesh_domain::Curve_segment_index> C3t3;
>
> // Criteria
> typedef CGAL::Mesh_criteria_3
> Mesh_criteria;
>
> /***************************************************************************
> /
>
> And I can't create my domain passing a Polyhedron in the domain constructor
> anymore. Hope you will have an idea about my problem.
Please give use a more complete example, with the #include.
The documentation of Polyhedral_mesh_domain_with_features_3 is not correct,
in my opinion. Its constructor documentation refers to a type "Polyhedron"
without telling anything about it. Actually, that class template has a second
template parameter; try that:
typedef CGAL::Polyhedral_mesh_domain_with_features_3<IGT, Polyhedron>
Mesh_domain;
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] Problem with make_mesh_3, ju21, 07/19/2012
- [cgal-discuss] Re: Problem with make_mesh_3, Zohar, 07/20/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/20/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/26/2012
- Re: [cgal-discuss] Re: Problem with make_mesh_3, Sebastien Loriot (GeometryFactory), 07/26/2012
- Re: [cgal-discuss] Re: Problem with make_mesh_3, Mariette Yvinec, 07/26/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/26/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/30/2012
- Re: [cgal-discuss] Re: Problem with make_mesh_3, Laurent Rineau (CGAL/GeometryFactory), 07/30/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/30/2012
- Re: [cgal-discuss] Re: Problem with make_mesh_3, Laurent Rineau (CGAL/GeometryFactory), 07/30/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/30/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/30/2012
- [cgal-discuss] Re: Problem with make_mesh_3, ju21, 07/30/2012
- Re: [cgal-discuss] Re: Problem with make_mesh_3, Laurent Rineau (CGAL/GeometryFactory), 07/30/2012
- [cgal-discuss] Re: Problem with make_mesh_3, Zohar, 07/20/2012
Archive powered by MHonArc 2.6.18.