Searched refs:radians (Results 1 - 13 of 13) sorted by relevance
/inkscape/share/extensions/ |
H A D | pturtle.py | 30 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 D | motion.py | 59 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 D | render_gear_rack.py | 71 angle = radians(self.options.angle)
|
H A D | render_gears.py | 85 base_diameter = pitch_diameter * cos( radians( angle ) ) 102 undercut = (2.0 / ( sin( radians( angle ) ) ** 2))
|
H A D | inkex.py | 261 'orientation': str(sin(radians(angle)))+','+str(-cos(radians(angle)))
|
H A D | restack.py | 173 distance = math.hypot(cx,cy)*(math.cos(math.radians(-self.options.angle)-math.atan2(cy, cx)))
|
/inkscape/src/2geom/ |
H A D | angle.h | 79 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 D | elliptical-arc.cpp | 77 * 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 D | seltrans.cpp | 1145 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 D | sp-guide.cpp | 503 double const radians = this->angle(); local 504 double const degrees = Geom::deg_from_rad(radians);
|
/inkscape/src/ui/tools/ |
H A D | calligraphic-tool.cpp | 293 double const radians = ( (this->angle - 90) / 180.0 ) * M_PI; local 294 Geom::Point ang1 = Geom::Point(-sin(radians), cos(radians));
|
H A D | eraser-tool.cpp | 241 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 D | cairo-utils.cpp | 580 Geom::Point ang(a->initialAngle().radians(), a->finalAngle().radians());
|
Completed in 1072 milliseconds