Draw skeleton's bisector edges in red (contour in black)

This commit is contained in:
Mael Rouxel-Labbé 2020-09-10 15:44:45 +02:00
parent e26fa8a1f7
commit bcd7cd2cfc
1 changed files with 4 additions and 2 deletions

View File

@ -76,8 +76,10 @@ protected:
*/
void compute_edge(Halfedge_const_handle eh)
{
add_segment(eh->opposite()->vertex()->point(),
eh->vertex()->point());
if(eh->is_bisector())
add_segment(eh->opposite()->vertex()->point(), eh->vertex()->point(), CGAL::red());
else
add_segment(eh->opposite()->vertex()->point(), eh->vertex()->point(), CGAL::black());
}
/*
void compute_vertex(Vertex_const_handle vh)