src/algorithms/geometry.h

2018-03-24

author
Teemu Piippo <teemu@hecknology.net>
date
Sat, 24 Mar 2018 12:46:40 +0200 (2018-03-24)
changeset 1324
563a9b65777b
parent 1319
39d7a9642eea
child 1325
f9abfc7ba676
permissions
-rw-r--r--

roundToDecimals no longer needs an lvalue. applyToMatrix removed.

#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