Searched defs:atan2 (Results 1 - 4 of 4) sorted by relevance

/inkscape/share/extensions/
H A Dedge3d.py20 from math import degrees, atan2 namespace
96 a = degrees(atan2(params[-2:][0] - last[0],
H A Dgcodetools.py945 alpha = (atan2(end[0]-center[0],end[1]-center[1]) - atan2(start[0]-center[0],start[1]-center[1])) % math.pi2
948 alpha_start = atan2(start[0]-center[0],start[1]-center[1])
1466 def atan2(*arg): function
1468 return (math.pi/2 - math.atan2(arg[0][0], arg[0][1]) ) % math.pi2
1471 return (math.pi/2 - math.atan2(arg[0],arg[1]) ) % math.pi2
1665 def angle(self): return math.atan2(self.y, self.x)
1702 a_st = (math.atan2(r.x,-r.y) - math.pi/2) % (math.pi*2)
3813 a_st = ( math.atan2(sp[0]-c[0],- (sp[1]-c[1])) - math.pi/2 ) % (math.pi*2)
3957 a = atan2(s
[all...]
/inkscape/src/2geom/
H A Dpoint.cpp156 Coord atan2(Point const &p) { function in namespace:Geom
157 return std::atan2(p[Y], p[X]);
165 return std::atan2(cross(a,b), dot(a,b));
H A Dsbasis-geometric.cpp157 Geom::atan2(Piecewise<D2<SBasis> > const &vect, double tol, unsigned order){ function in class:Geom
171 angle += -std::atan2(vi0[1],vi0[0]) - angle[0].at0();
188 Geom::atan2(D2<SBasis> const &vect, double tol, unsigned order){ function in class:Geom
189 return atan2(Piecewise<D2<SBasis> >(vect),tol,order);
192 /** tan2 is the pseudo-inverse of atan2. It takes an angle and returns a unit_vector that points in the direction of angle.
203 /** tan2 is the pseudo-inverse of atan2. It takes an angle and returns a unit_vector that points in the direction of angle.

Completed in 42 milliseconds