src/algorithms/geometry.h@bdb4804bc09c
src/algorithms/geometry.h
Sat, 24 Mar 2018 12:06:22 +0200
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Sat, 24 Mar 2018 12:06:22 +0200
- changeset 1320
- bdb4804bc09c
- parent 1319
-
39d7a9642eea
- child 1325
-
f9abfc7ba676
- permissions
- -rw-r--r--
Moved includes, added squared() function
#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);