Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Problem with make_mesh_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Problem with make_mesh_3


Chronological Thread 
  • From: ju21 <>
  • To:
  • Subject: [cgal-discuss] Re: Problem with make_mesh_3
  • Date: Mon, 30 Jul 2012 03:20:31 -0700 (PDT)

Hi again


Mariette Yvinec wrote
>
>
> yes it is normal if you use as domain :
> /CGAL::Polyhedral_mesh_domain_3<Polyhedron>
> &lt;http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3_ref/Class_Polyhedral_mesh_domain_3.html#Cross_link_anchor_1534&gt;/
>
> 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>
> &lt;http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3_ref/Class_Polyhedral_mesh_domain_with_features_3.html#Cross_link_anchor_1535&gt;/
>
> --
> Mariette Yvinec
> Geometrica project team
> INRIA Sophia-Antipolis
>
>


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.

Thanks




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Problem-with-make-mesh-3-tp4655492p4655621.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page