mirror of https://github.com/CGAL/cgal
Add function to resive the grid
This commit is contained in:
parent
b8e5221f14
commit
2d9beb8ef3
|
|
@ -100,6 +100,13 @@ public:
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setDelta(double x, double y)
|
||||||
|
{
|
||||||
|
dx = x;
|
||||||
|
dy = y;
|
||||||
|
update();
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void updateBoundingBox();
|
void updateBoundingBox();
|
||||||
double dx, dy;
|
double dx, dy;
|
||||||
|
|
@ -119,7 +126,7 @@ protected:
|
||||||
visible_edges(true), visible_vertices(true)
|
visible_edges(true), visible_vertices(true)
|
||||||
{
|
{
|
||||||
setVerticesPen(QPen(::Qt::red, 3.));
|
setVerticesPen(QPen(::Qt::red, 3.));
|
||||||
setZValue(3);
|
setZValue(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename K>
|
template <typename K>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue