weight is the radius

This commit is contained in:
Andreas Fabri 2010-09-07 10:14:16 +00:00
parent 31dcbec573
commit 1a7b49eca6
1 changed files with 1 additions and 3 deletions

View File

@ -93,12 +93,10 @@ ApolloniusGraphGraphicsItem<AG,K>::paint(QPainter *painter, const QStyleOptionGr
{
QRectF rect = option->exposedRect;
PainterOstream<K> pos(painter, rect);
for(typename AG::Sites_iterator it = ag->sites_begin();
it != ag->sites_end(); it++ ) {
pos << typename K::Circle_2(it->point(), it->weight());
pos << typename K::Circle_2(it->point(), square( it->weight()));
}
std::cerr << "paint" << std::endl;
ag->draw_dual(pos);
}