--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/algorithms/geometry.h Sat Mar 24 11:57:24 2018 +0200 @@ -0,0 +1,6 @@ +#pragma once +#include "../main.h" + +QPointF pointOnCircumference(int segment, int divisions); +QVector<QLineF> makeCircle(int segments, int divisions, double radius); +qreal distanceFromPointToRectangle(const QPointF& point, const QRectF& rectangle);