mirror of https://github.com/CGAL/cgal
Only hyperbolic edges have duals
This commit is contained in:
parent
46341243fe
commit
0251966b30
|
|
@ -97,9 +97,9 @@ VoronoiGraphicsItem<DT>::paint(QPainter *painter, const QStyleOptionGraphicsItem
|
||||||
painter->setPen(temp);
|
painter->setPen(temp);
|
||||||
//
|
//
|
||||||
|
|
||||||
for(typename DT::All_edges_iterator eit = dt->all_edges_begin();
|
for(typename DT::Hyperbolic_edges_iterator eit = dt->hyperbolic_edges_begin();
|
||||||
eit != dt->all_edges_end();
|
eit != dt->hyperbolic_edges_end();
|
||||||
eit++)
|
++eit)
|
||||||
{
|
{
|
||||||
typename DT::Hyperbolic_segment s = dt->dual(*eit);
|
typename DT::Hyperbolic_segment s = dt->dual(*eit);
|
||||||
pos << s;
|
pos << s;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue