src/algorithms/geometry.h

changeset 1319
39d7a9642eea
child 1325
f9abfc7ba676
--- /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);

mercurial