Searched refs:denom (Results 1 - 7 of 7) sorted by relevance

/inkscape/src/2geom/
H A Dsbasis-to-bezier.cpp192 double denom; local
246 denom = 3.0*(xprime[1]*xprime[1] + yprime[1]*yprime[1]);
249 delx[1] = -xprime[1]*numer/denom;
250 dely[1] = -yprime[1]*numer/denom;
254 denom = 3.0*(xprime[0]*xprime[0] + yprime[0]*yprime[0]);
255 delx[0] = xprime[0]*numer/denom;
256 dely[0] = yprime[0]*numer/denom;
265 denom = 3.0*(xprime[1]*yprime[0] - yprime[1]*xprime[0]);
268 delx[i] = xprime[i]*numer/denom;
269 dely[i] = yprime[i]*numer/denom;
[all...]
/inkscape/share/extensions/
H A Dffgeom.py125 denom = ((y4 - y3) * (x2 - x1)) - ((x4 - x3) * (y2 - y1))
131 if denom != 0:
132 x = x1 + ((num / denom) * (x2 - x1))
133 y = y1 + ((num / denom) * (y2 - y1))
H A Ddraw_from_triangle.py96 denom = p[0][0]*t[0] + p[0][1]*t[1] + p[0][2]*t[2]
97 c1 = p[0][1]*t[1]/denom
98 c2 = p[0][2]*t[2]/denom
H A Dgcodetools.py5262 denom=1.-nx23*nx1-ny23*ny1
5263 if denom < engraving_tolerance : return max_dist
5266 r=dist/denom
5297 denom=nx**2+ny**2-1
5298 if denom<=engraving_tolerance : #Not a corner bisector
5299 if denom==-1 : #Find circle centre x1,y1
5306 discriminator = (x2*nx+y2*ny)**2 - denom*(x2**2+y2**2)
5309 r=(x2*nx+y2*ny -math.sqrt(discriminator))/denom
/inkscape/src/
H A Dline-geometry.cpp60 Geom::Coord denom = Geom::dot(v_dir, line.normal); local
62 if (fabs(denom) < 1e-6)
65 Geom::Coord lambda = (line.d0 - Geom::dot(pt, line.normal)) / denom;
/inkscape/src/live_effects/
H A Dlpe-powerstroke.cpp50 Coord denom = cross(vector_a, vector_b); local
51 if (!are_near(denom,0.)){
52 Coord t = (cross(vector_b, origin_a) + cross(origin_b, vector_b)) / denom;
/inkscape/src/helper/
H A Dgeom-pathstroke.cpp26 Coord denom = cross(vector_a, vector_b); local
27 if (!are_near(denom,0.)) {
28 Coord t = (cross(vector_b, origin_a) + cross(origin_b, vector_b)) / denom;

Completed in 169 milliseconds