mirror of https://github.com/CGAL/cgal
fix default cell_selector for when input is a C3t3
only cells with a subdomain != 0 should be remeshed
This commit is contained in:
parent
177b77da63
commit
f148d95cce
|
|
@ -394,13 +394,13 @@ void tetrahedral_isotropic_remeshing(
|
|||
|
||||
typedef typename Tr::Cell_handle Cell_handle;
|
||||
typedef typename internal_np::Lookup_named_param_def <
|
||||
internal_np::cell_selector_t,
|
||||
internal_np::cell_selector_t,
|
||||
NamedParameters,
|
||||
Constant_property_map<Cell_handle, bool>//default
|
||||
Tetrahedral_remeshing::internal::All_cells_selected<Tr>//default
|
||||
> ::type SelectionFunctor;
|
||||
SelectionFunctor cell_select
|
||||
= choose_parameter(get_parameter(np, internal_np::cell_selector),
|
||||
Constant_property_map<Cell_handle, bool>(true));
|
||||
Tetrahedral_remeshing::internal::All_cells_selected<Tr>());
|
||||
|
||||
typedef std::pair<typename Tr::Vertex_handle, typename Tr::Vertex_handle> Edge_vv;
|
||||
typedef typename internal_np::Lookup_named_param_def <
|
||||
|
|
|
|||
Loading…
Reference in New Issue