Searched defs:cross (Results 1 - 8 of 8) sorted by relevance
/inkscape/src/2geom/ |
H A D | d2-sbasis.cpp | 144 Piecewise<SBasis> cross(Piecewise<D2<SBasis> > const &a, function in namespace:Geom 153 result.push(cross(aa.segs[i],bb.segs[i]),aa.cuts[i+1]);
|
H A D | d2.h | 381 /** @brief Calculates the 'cross product' or 'outer product' of \c a and \c b 386 cross(D2<T> const & a, D2<T> const & b) { function in namespace:Geom 512 Piecewise<SBasis> cross(Piecewise<D2<SBasis> > const &a, Piecewise<D2<SBasis> > const &b);
|
H A D | point.h | 361 /** @brief Compute the 2D cross product. 366 inline Coord cross(Point const &a, Point const &b) function in namespace:Geom 399 return are_near( cross(p3, p2) - cross(p3, p1) + cross(p2, p1), 0, eps);
|
/inkscape/src/ |
H A D | sp-conn-end.cpp | 75 Geom::CrossingSet cross = crossings(conn_pv, curve_pv); local 79 for (Geom::CrossingSet::const_iterator i = cross.begin(); i != cross.end(); ++i) {
|
/inkscape/src/live_effects/ |
H A D | lpe-powerstroke.cpp | 45 /** Find the point where two straight lines cross. 50 Coord denom = cross(vector_a, vector_b); 52 Coord t = (cross(vector_b, origin_a) + cross(origin_b, vector_b)) / denom; 77 double cross = p[Y]*q[X] - p[X]*q[Y]; local 78 double a = -q[Y]/cross; 79 double b = q[X]/cross; 80 double c = (O[X]*q[Y] - O[Y]*q[X])/cross; 82 double d = p[Y]/cross; 83 double e = -p[X]/cross; 402 Geom::Crossings cross = crossings(bzr1, bzr2); local 533 Geom::Crossings cross = crossings(bzr1, bzr2); local [all...] |
/inkscape/src/helper/ |
H A D | geom-pathstroke.cpp | 26 Coord denom = cross(vector_a, vector_b); 28 Coord t = (cross(vector_b, origin_a) + cross(origin_b, vector_b)) / denom; 49 Piecewise<SBasis> k = cross(derivative(unitv),unitv); 78 if( Geom::cross(curve[0]-curve[1], curve[1]-curve[2]) < 0 ) { 89 if( Geom::cross(curve[1]-curve[2], curve[2]-curve[3]) < 0 ) { 584 if (Geom::cross(start_ray.versor(), end_ray.versor()) < 0) { 666 Geom::Crossings cross = Geom::crossings(res, temp); local 669 if (cross.size() == 1) solution = 0; 670 else if (cross [all...] |
/inkscape/share/extensions/ |
H A D | gcodetools.py | 1388 def cross(a,b) : function 1525 def draw_pointer(x,color = "#f00", figure = "cross", group = None, comment = "", fill=None, width = .1, size = 10., text = None, font_size=None, pointer_type=None, attrib = None) : 2964 cos, sin = dot(cur,last_edge), cross(cur,last_edge) 3326 corner_tolerance = cross([1.,0.], [math.cos(a),math.sin(a)]) 3364 max_cross = max(max_cross,[cross(s1,s2),j-1]) 3387 if cross(s1,s2) > corner_tolerance : 4976 if cross(s1,s2) > corner_tolerance : 5270 #Use vector cross products. Not sure if I need the .0001 safety margins: 6288 # o = (1 if cross(n, [0,1])>0 else -1)*orientation 6291 # o = (1 if cross( [all...] |
/inkscape/src/libuemf/ |
H A D | uemf.c | 513 float scale, cross; local 567 cross = vec_estart.x * vec_eend.y - vec_estart.y * vec_eend.x; 569 if(cross >=0){ *f1 = 1; } 573 if(cross >=0){ *f1 = 0; }
|
Completed in 103 milliseconds