renamed max to maximum and min to minimum in NP to be consistent with other packages

This commit is contained in:
Dmitry Anisimov
2021-06-30 12:39:01 +02:00
parent cfd9b85bb4
commit c5bea93e58
34 changed files with 79 additions and 79 deletions
@@ -38,7 +38,7 @@ int main(int argc, char *argv[]) {
std::vector<Indices> pgroups;
CGAL::Shape_regularization::Segments::parallel_groups(
segments, std::back_inserter(pgroups),
CGAL::parameters::max_angle(max_angle_2));
CGAL::parameters::maximum_angle(max_angle_2));
// Offset regularization.
const FT max_offset_2 = FT(1) / FT(4);
@@ -46,7 +46,7 @@ int main(int argc, char *argv[]) {
// Create neigbor query and offset-based regularization model.
Neighbor_query neighbor_query(segments);
Offset_regularization offset_regularization(
segments, CGAL::parameters::max_offset(max_offset_2));
segments, CGAL::parameters::maximum_offset(max_offset_2));
// Add each group of parallel segments with at least 2 segments.
for (const auto& pgroup : pgroups) {