mirror of https://github.com/CGAL/cgal
remove unused Boolean parameter
This commit is contained in:
parent
9fe15e6fe6
commit
536fa70418
|
|
@ -361,7 +361,7 @@ namespace Point_set {
|
|||
FT radius; Line_3 axis;
|
||||
std::tie(radius, axis) = internal::create_cylinder(
|
||||
region, m_point_map, m_normal_map,
|
||||
m_traits, false).first;
|
||||
m_traits).first;
|
||||
|
||||
if (radius >= FT(0)) {
|
||||
m_radius = radius;
|
||||
|
|
@ -379,7 +379,7 @@ namespace Point_set {
|
|||
const Region& region) const {
|
||||
return internal::create_cylinder(
|
||||
region, m_point_map, m_normal_map,
|
||||
m_traits, false).first;
|
||||
m_traits).first;
|
||||
}
|
||||
/// \endcond
|
||||
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ namespace Point_set {
|
|||
neighbors.push_back(it);
|
||||
|
||||
m_scores[idx] = -internal::create_cylinder(
|
||||
neighbors, m_point_map, m_normal_map, m_traits, true).second;
|
||||
neighbors, m_point_map, m_normal_map, m_traits).second;
|
||||
|
||||
if (m_scores[idx] == -(std::numeric_limits<double>::max)())
|
||||
seed_cutoff++;
|
||||
|
|
|
|||
|
|
@ -62,11 +62,7 @@ namespace internal {
|
|||
};
|
||||
|
||||
template<typename Input, typename Result, bool = std::is_same<Input, Result>::value >
|
||||
struct conditional_deref {
|
||||
Result operator()(Input it) {
|
||||
assert(false);
|
||||
}
|
||||
};
|
||||
struct conditional_deref;
|
||||
|
||||
template<typename Input, typename Result>
|
||||
struct conditional_deref<Input, Result, true> {
|
||||
|
|
@ -655,7 +651,7 @@ namespace internal {
|
|||
create_cylinder(
|
||||
const Region& region, const PointMap point_map,
|
||||
const NormalMap normal_map,
|
||||
const Traits& traits, const bool compute_score) {
|
||||
const Traits& traits) {
|
||||
|
||||
if (region.size() < 6)
|
||||
return std::make_pair(
|
||||
|
|
|
|||
Loading…
Reference in New Issue