src/algorithms/geometry.h

changeset 1403
7a2d84112983
parent 1328
d68d1ce89d05
equal deleted inserted replaced
1402:8bbf2af8c3f5 1403:7a2d84112983
29 double ldrawsin(double angle); 29 double ldrawsin(double angle);
30 double ldrawcos(double angle); 30 double ldrawcos(double angle);
31 QPointF pointOnLDrawCircumference(int segment, int divisions); 31 QPointF pointOnLDrawCircumference(int segment, int divisions);
32 QVector<QLineF> makeCircle(int segments, int divisions, double radius); 32 QVector<QLineF> makeCircle(int segments, int divisions, double radius);
33 qreal distanceFromPointToRectangle(const QPointF& point, const QRectF& rectangle); 33 qreal distanceFromPointToRectangle(const QPointF& point, const QRectF& rectangle);
34 void rotateObjects(int l, int m, int n, double angle, const QVector<LDObject*>& objects); 34 void rotateObjects(float l, float m, float n, double angle, const QVector<LDObject*>& objects);
35 Vertex getRotationPoint(const QVector<LDObject*>& objs); 35 Vertex getRotationPoint(const QVector<LDObject*>& objs);
36 void rotateVertex(Vertex& vertex, const Vertex& rotationPoint, const Matrix& transformationMatrix);

mercurial