Searched refs:theta (Results 1 - 12 of 12) sorted by relevance

/inkscape/share/extensions/
H A Dspirograph.py83 theta = i * scale
86 x = a * math.cos(theta + rotation) + \
87 self.options.penr * math.cos(ratio * theta + rotation) * flip + \
89 y = a * math.sin(theta + rotation) - \
90 self.options.penr * math.sin(ratio * theta + rotation) + \
93 dx = (-a * math.sin(theta + rotation) - \
94 ratio * self.options.penr * math.sin(ratio * theta + rotation) * flip) * scale / 3
95 dy = (a * math.cos(theta + rotation) - \
96 ratio * self.options.penr * math.cos(ratio * theta + rotation)) * scale / 3
H A Dwhirl.py51 theta = math.atan2(point[1], point[0]) + a
52 point[0] = (dist * math.cos(theta))
53 point[1] = (dist * math.sin(theta))
H A Dsimplepath.py206 theta = math.atan2(y, x) + a
207 params[i] = (r * math.cos(theta)) + cx
208 params[i + 1] = (r * math.sin(theta)) + cy
H A Dsimplepath.rb201 theta = Math.atan2(y, x) + a
202 params[i] = (r * Math.cos(theta)) + cx
203 params[i + 1] = (r * Math.sin(theta)) + cy
H A Dgcodetools.py1661 def rot(self, theta):
1662 c = math.cos(theta)
1663 s = math.sin(theta)
/inkscape/src/
H A Dknot-holder-entity.cpp198 gdouble theta = sp_pattern_extract_theta(pat); local
199 delta = delta * Geom::Affine(Geom::Scale(scale))*Geom::Affine(Geom::Rotate(theta));
214 gdouble theta = atan2(delta); local
217 theta = sp_round(theta, M_PI/snaps);
222 Geom::Affine rot = Geom::Affine(Geom::Scale(scl)) * Geom::Affine(Geom::Rotate(theta));
239 gdouble theta = sp_pattern_extract_theta(pat); local
251 d *= Geom::Rotate(-theta);
255 Geom::Affine rot = (Geom::Affine)scl * Geom::Rotate(theta);
/inkscape/src/2geom/
H A Dpolynomial.cpp304 Coord theta = acos(R / sqrt(-Q*Q*Q));
307 result.push_back(-term1 + rroot * cos(theta / 3));
308 result.push_back(-term1 + rroot * cos((theta + 2*M_PI) / 3));
309 result.push_back(-term1 + rroot * cos((theta + 4*M_PI) / 3));
H A Dtransforms.h194 explicit Rotate(Coord theta) : vec(Point::polar(theta)) {}
/inkscape/src/livarot/
H A DShape.h113 double theta; // coordinate of the incidence on the edge member in struct:Shape::incidenceData
488 int PushIncidence(Shape *a, int cb, int pt, double theta);
H A DPathCutting.cpp917 double const theta = (cvAbs[curCv] - len) / add; local
920 res[nbCut].t = theta * i->t + (1 - theta) * ( (lastPiece != i->piece) ? 0 : lastT);
H A DShapeSweep.cpp1979 Shape::PushIncidence (Shape * a, int cb, int pt, double theta) argument
1981 if (theta < 0 || theta > 1)
1993 iData[n].theta = theta;
/inkscape/src/libavoid/
H A Drouter.cpp1143 double theta = 0 - atan2(n_p2.y, n_p2.x); local
1144 //db_printf("theta = %.2f\n", theta * (180 / PI));
1151 double cosv = cos(theta);
1152 double sinv = sin(theta);

Completed in 61 milliseconds