Searched defs:dot (Results 1 - 10 of 10) sorted by relevance

/inkscape/share/extensions/
H A Dvoronoi2svg.py90 def dot(self,x,y): member in class:Voronoi2svg
94 s1 = self.dot(line,v1) - line[2]
95 s2 = self.dot(line,v2) - line[2]
99 tmp = self.dot(line,v1)-self.dot(line,v2)
102 u = (line[2]-self.dot(line,v2))/tmp
H A Dffgeom.py82 c1 = dot(s2,self)
85 c2 = dot(self,self)
137 def dot(s1, s2): function
H A Dgcodetools.py951 if dot(slope_st , [- sin_*k*r, cos_*k*r]) < 0 :
1392 def dot(a,b) : function
1660 def dot(self, other): return self.x * other.x + self.y * other.y member in class:P
2217 if dot(csp_normalized_normal(s2[-2],s2[-1],1.),csp_normalized_slope(s1[0],s1[1],0.))*r<-0.0001 :
2221 if dot(csp_normalized_normal(s2[0],s2[1],0.),csp_normalized_slope(s1[-2],s1[-1],1.))*r>0.0001 :
2964 cos, sin = dot(cur,last_edge), cross(cur,last_edge)
4113 ### Notes, warnings adn errors could be assigned to space or comma or dot
5207 #We can correct signs by noting that the dot product
5241 # Algorithm uses dot products of normals to find radius
5252 #The dot produc
[all...]
/inkscape/src/2geom/
H A Dd2-sbasis.cpp42 SBasis L2(D2<SBasis> const & a, unsigned k) { return sqrt(dot(a, a), k); }
95 /** @brief Calculates the 'dot product' or 'inner product' of \c a and \c b
106 Piecewise<SBasis> dot(Piecewise<D2<SBasis> > const &a, Piecewise<D2<SBasis> > const &b) function in namespace:Geom
115 result.push(dot(aa.segs[i],bb.segs[i]),aa.cuts[i+1]);
120 /** @brief Calculates the 'dot product' or 'inner product' of \c a and \c b
131 Piecewise<SBasis> dot(Piecewise<D2<SBasis> > const &a, Point const &b) function in namespace:Geom
138 result.push(dot(a.segs[i],b), a.cuts[i+1]);
H A Dd2.h355 dot(D2<T> const & a, D2<T> const & b) { function in namespace:Geom
365 /** @brief Calculates the 'dot product' or 'inner product' of \c a and \c b
370 dot(D2<T> const & a, Point const & b) { function in namespace:Geom
510 Piecewise<SBasis> dot(Piecewise<D2<SBasis> > const &a, Piecewise<D2<SBasis> > const &b);
511 Piecewise<SBasis> dot(Piecewise<D2<SBasis> > const &a, Point const &b);
H A Dpoint.h351 /** @brief Compute the dot product of a and b.
357 inline Coord dot(Point const &a, Point const &b) { function in namespace:Geom
362 * This is also known as "perp dot product". It will be zero for parallel vectors,
369 // return dot(a, b.ccw());
/inkscape/src/2geom/numeric/
H A Dvector.h175 double dot(BaseVectorImpl const& v1, BaseVectorImpl const& v2) function in namespace:Geom::NL::detail
/inkscape/src/extension/internal/pdfinput/
H A Dpdf-input.cpp784 gchar *dot = g_strrstr(docname, "."); local
785 if (dot) {
786 *dot = 0;
/inkscape/src/ui/tools/
H A Dcalligraphic-tool.cpp597 double dot = Geom::dot (moved_past_escape, inertia); local
598 dot /= Geom::L2(moved_past_escape) * Geom::L2(inertia);
600 if (dot > 0) { // mouse is still moving in approx the same direction
615 double dot = Geom::dot (pointer - nearest, hatch_vector_accumulated); local
616 dot /= Geom::L2(pointer - nearest) * Geom::L2(hatch_vector_accumulated);
628 if (!IS_NAN(dot) && dot < -0.5) {// flip
/inkscape/src/ui/dialog/
H A Dexport.cpp954 Glib::ustring::size_type dot; local
957 dot = filename.find_last_of(".");
959 if ( dot == std::string::npos )
965 if (dot == dot_ext)

Completed in 51 milliseconds