Searched defs:tan2 (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/live_effects/
H A Dlpe-powerstroke-interpolators.h266 Point tan2 = (p2 - p1) / dt1 - (p3 - p1) / (dt1 + dt2) + (p3 - p2) / dt2; local
269 tan2 *= dt1;
273 // So we have to make sure that B'(0) = tan1 and B'(1) = tan2, and we already know that b0=p1 and b3=p2
275 // tan2 = B'(1) = 3 (p2 - b2) --> p2 - (tan2)/3 = b2
279 Point b2 = p2 - tan2 / 3;
/inkscape/src/2geom/
H A Dsbasis-geometric.cpp192 /** tan2 is the pseudo-inverse of atan2. It takes an angle and returns a unit_vector that points in the direction of angle.
199 Geom::tan2(SBasis const &angle, double tol, unsigned order){ function in class:Geom
200 return tan2(Piecewise<SBasis>(angle), tol, order);
203 /** tan2 is the pseudo-inverse of atan2. It takes an angle and returns a unit_vector that points in the direction of angle.
210 Geom::tan2(Piecewise<SBasis> const &angle, double tol, unsigned order){ function in class:Geom

Completed in 25 milliseconds