Fix detection of border *edges*

This commit is contained in:
Laurent Rineau 2017-09-07 12:07:17 +02:00
parent d5ea0b6cbc
commit cba3b1c20c
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ template<typename GT,
BOOST_FOREACH(typename boost::graph_traits<PolygonMesh>::edge_descriptor ed, edges(pmesh))
{
typename boost::graph_traits<PolygonMesh>::halfedge_descriptor he = halfedge(ed,pmesh);
if(is_border(he,pmesh)
if(is_border_edge(he,pmesh)
|| angle_in_deg == FT()
|| (angle_in_deg != FT(180) && internal::is_sharp<PolygonMesh, GT>(pmesh,he,cos_angle))
)