mirror of https://github.com/CGAL/cgal
take min_size into account inside Mesh_edge_criteria_3
This commit is contained in:
parent
569b9ebe4a
commit
f8de6e72b8
|
|
@ -177,7 +177,13 @@ public:
|
|||
|
||||
/// Returns size of tuple (p,dim,index)
|
||||
FT sizing_field(const Point_3& p, const int dim, const Index& index) const
|
||||
{ return (*p_size_)(p,dim,index); }
|
||||
{
|
||||
const FT s = (*p_size_)(p, dim, index);
|
||||
if (min_length_bound_ == FT(0))
|
||||
return s;
|
||||
else
|
||||
return (std::max)(s, min_length_bound_);
|
||||
}
|
||||
|
||||
FT distance_field(const Point_3& p, const int dim, const Index& index) const
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue