mirror of https://github.com/CGAL/cgal
If the angle bound is 0, do not even test the dihedral angle of edges: all edges are marked as sharp edges.
This commit is contained in:
parent
caec2f2dc0
commit
1dbc3fa69e
|
|
@ -93,7 +93,7 @@ detect_sharp_edges(Polyhedron& polyhedron, FT angle_in_deg) const
|
|||
for(typename Polyhedron::Halfedge_iterator he = polyhedron.edges_begin(),
|
||||
end = polyhedron.edges_end() ; he != end ; ++he)
|
||||
{
|
||||
if(he->is_border() || is_sharp(he,cos_angle))
|
||||
if(he->is_border() || angle_in_deg == FT() || is_sharp(he,cos_angle))
|
||||
{
|
||||
he->set_feature_edge(true);
|
||||
he->opposite()->set_feature_edge(true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue