Skip to content

Commit

Permalink
as in PR CGAL#7844, removed _sizing_field parameter for edge_distance.
Browse files Browse the repository at this point in the history
  • Loading branch information
ange-clement committed Mar 28, 2024
1 parent 70fd911 commit 3cfea61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Mesh_3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -1812,9 +1812,9 @@ check_and_fix_vertex_along_edge(const Vertex_handle& v, ErasedVeOutIt out)
return out;
}

template <typename C3T3, typename MD, typename Sf>
typename Protect_edges_sizing_field<C3T3, MD, Sf>::FT
Protect_edges_sizing_field<C3T3, MD, Sf>::
template <typename C3T3, typename MD, typename Sf, typename Df>
typename Protect_edges_sizing_field<C3T3, MD, Sf, Df>::FT
Protect_edges_sizing_field<C3T3, MD, Sf, Df>::
curve_segment_length(const Vertex_handle v1,
const Vertex_handle v2,
const Curve_index& curve_index,
Expand Down
2 changes: 1 addition & 1 deletion Mesh_3/test/Mesh_3/test_mesh_criteria_creation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ int main()
Mc ec8(edge_distance = 8.);
assert( ec8.edge_criteria_object().distance_field(bp1, 1, index) == 8. );

Mc ec9(edge_distance_sizing_field = Esf(9.));
Mc ec9(edge_distance = Esf(9.));
assert( ec9.edge_criteria_object().distance_field(bp1, 1, index) == 9.);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ CGAL_add_named_parameter_with_compatibility(input_features_param_t, input_featur

CGAL_add_named_parameter_with_compatibility(edge_size_param_t, edge_size_param, edge_size)
CGAL_add_named_parameter_with_compatibility(edge_min_size_param_t, edge_min_size_param, edge_min_size)
CGAL_add_named_parameter_with_compatibility_cref_only(edge_distance_sizing_field_param_t, edge_distance_sizing_field_param, edge_distance_sizing_field)
CGAL_add_named_parameter_with_compatibility_cref_only(edge_distance_param_t, edge_distance_param, edge_distance)
CGAL_add_named_parameter_with_compatibility(facet_angle_param_t, facet_angle_param, facet_angle)
CGAL_add_named_parameter_with_compatibility(facet_size_param_t, facet_size_param, facet_size)
Expand Down

0 comments on commit 3cfea61

Please sign in to comment.