Skip to content

Commit

Permalink
replace typedef's by using's
Browse files Browse the repository at this point in the history
  • Loading branch information
janetournois committed Jul 23, 2024
1 parent a93f78d commit 5771547
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,17 @@ using Mesh_domain = CGAL::Mesh_domain_with_polyline_features_3<Image_domain>;
/// [Domain definition]

#ifdef CGAL_CONCURRENT_MESH_3
typedef CGAL::Parallel_tag Concurrency_tag;
using Concurrency_tag = CGAL::Parallel_tag;
#else
typedef CGAL::Sequential_tag Concurrency_tag;
using Concurrency_tag = CGAL::Sequential_tag;
#endif

// Triangulation
typedef CGAL::Mesh_triangulation_3<Mesh_domain,CGAL::Default,Concurrency_tag>::type Tr;

typedef CGAL::Mesh_complex_3_in_triangulation_3<Tr> C3t3;
using Tr = CGAL::Mesh_triangulation_3<Mesh_domain,CGAL::Default,Concurrency_tag>::type;
using C3t3 = CGAL::Mesh_complex_3_in_triangulation_3<Tr>;

// Criteria
typedef CGAL::Mesh_criteria_3<Tr> Mesh_criteria;
using Mesh_criteria = CGAL::Mesh_criteria_3<Tr>;

// To avoid verbose function and named parameters call
using namespace CGAL::parameters;
Expand Down

0 comments on commit 5771547

Please sign in to comment.