Lines Matching defs:rad
37 , rad(1)
65 * sodipodi:spiral="cx cy exp revo rad arg t0"
72 sp_repr_set_svg_double(repr, "sodipodi:radius", this->rad);
144 if (!sp_svg_length_read_computed_absolute (value, &this->rad)) {
145 this->rad = MAX (this->rad, 0.001);
338 g_print ("cx=%g, cy=%g, exp=%g, revo=%g, rad=%g, arg=%g, t0=%g\n",
343 this->rad,
390 void SPSpiral::setPosition(gdouble cx, gdouble cy, gdouble exp, gdouble revo, gdouble rad, gdouble arg, gdouble t0) {
399 this->rad = MAX (rad, 0.0);
457 this->rad *= s;
496 double const rad = this->rad * pow(t, (double)this->exp);
499 return Geom::Point(rad * cos(arg) + this->cx, rad * sin(arg) + this->cy);
566 * Compute rad and/or arg for point on spiral.
568 void SPSpiral::getPolar(gdouble t, gdouble* rad, gdouble* arg) const {
569 if (rad) {
570 *rad = this->rad * pow(t, (double)this->exp);
582 gdouble rad;
584 this->getPolar(0.0, &rad, NULL);
586 if (rad < 0.0 || rad > SP_HUGE) {
587 g_print("rad(t=0)=%g\n", rad);
591 this->getPolar(1.0, &rad, NULL);
593 if (rad < 0.0 || rad > SP_HUGE) {
594 g_print("rad(t=1)=%g\n", rad);