Searched refs:radians (Results 1 - 13 of 13) sorted by relevance

/inkscape/share/extensions/
H A Dpturtle.py30 self.setpos((self.__pos[0] + math.cos(math.radians(self.__heading))*mag,
31 self.__pos[1] + math.sin(math.radians(self.__heading))*mag))
33 self.setpos((self.__pos[0] - math.cos(math.radians(self.__heading))*mag,
34 self.__pos[1] - math.sin(math.radians(self.__heading))*mag))
H A Dmotion.py59 self.vx = math.cos(math.radians(self.options.angle))*self.options.magnitude
60 self.vy = math.sin(math.radians(self.options.angle))*self.options.magnitude
H A Drender_gear_rack.py71 angle = radians(self.options.angle)
H A Drender_gears.py85 base_diameter = pitch_diameter * cos( radians( angle ) )
102 undercut = (2.0 / ( sin( radians( angle ) ) ** 2))
H A Dinkex.py261 'orientation': str(sin(radians(angle)))+','+str(-cos(radians(angle)))
H A Drestack.py173 distance = math.hypot(cx,cy)*(math.cos(math.radians(-self.options.angle)-math.atan2(cy, cx)))
/inkscape/src/2geom/
H A Dangle.h79 operator Coord() const { return radians(); }
105 /** @brief Get the angle as radians.
107 Coord radians() const { function in class:Geom::Angle
110 /** @brief Get the angle as positive radians.
116 * @return Number in range [-180, 180) obtained by scaling the result of radians()
118 Coord degrees() const { return radians() * (180.0 / M_PI); }
121 * and grow clockwise. This means that 0 corresponds to \f$\pi/2\f$ radians,
122 * 90 to 0 radians, 180 to \f$-\pi/2\f$ radians, and 270 to \f$\pi\f$ radians
[all...]
H A Delliptical-arc.cpp77 * create an angle of \f$\pi/4\f$ radians; it is only the case if both axes of the ellipse
705 Coord et = initialAngle().radians() + sweepAngle();
706 Linear param(initialAngle().radians(), et);
/inkscape/src/
H A Dseltrans.cpp1145 double radians = atan(skew[dim_a] / scale[dim_a]); local
1152 double sections = floor(radians * snaps / M_PI + .5);
1156 radians = (M_PI / snaps) * sections;
1158 skew[dim_a] = tan(radians) * scale[dim_a];
1198 double degrees = mod360symm(Geom::deg_from_rad(radians));
1235 double radians = atan2(Geom::dot(Geom::rot90(d1), d2), Geom::dot(d1, d2));; local
1240 radians = atan2(sin_t, cos_t);
1242 radians = ( M_PI / snaps ) * floor( radians * snaps / M_PI + .5 );
1245 r2 = Geom::Rotate(radians); //q
[all...]
H A Dsp-guide.cpp503 double const radians = this->angle(); local
504 double const degrees = Geom::deg_from_rad(radians);
/inkscape/src/ui/tools/
H A Dcalligraphic-tool.cpp293 double const radians = ( (this->angle - 90) / 180.0 ) * M_PI; local
294 Geom::Point ang1 = Geom::Point(-sin(radians), cos(radians));
H A Deraser-tool.cpp241 double const radians = ( (this->angle - 90) / 180.0 ) * M_PI; local
242 Geom::Point ang1 = Geom::Point(-sin(radians), cos(radians));
/inkscape/src/display/
H A Dcairo-utils.cpp580 Geom::Point ang(a->initialAngle().radians(), a->finalAngle().radians());

Completed in 64 milliseconds