/inkscape/src/2geom/ |
H A D | conic_section_clipper_impl.h | 207 Line l2 = cs.tangent (Q); local 213 OptCrossing oc = intersection(l1, l2);
|
H A D | conic_section_clipper_impl.cpp | 382 Line l1, l2; local 383 if (cs.decompose (l1, l2)) 405 boost::optional<LineSegment> ls2 = Geom::clip (l2, R);
|
H A D | line.cpp | 331 OptCrossing intersection_impl(Ray const& r1, Line const& l2, unsigned int i) argument 337 l2.vector(), l2.origin() ); 349 if (are_near(r1.origin(), l2)) { 358 Line const& l2, 366 l2.vector(), 367 l2.origin() ); 381 if (are_near(ls1.initialPoint(), l2)) { 445 OptCrossing intersection(Line const& l1, Line const& l2) argument 449 l2 357 intersection_impl( LineSegment const& ls1, Line const& l2, unsigned int i ) argument 568 make_angle_bisector_line(Line const& l1, Line const& l2) argument [all...] |
H A D | conicsec.h | 201 * l1, l2: lines that made up the conic section 203 xAx (const Line& l1, const Line& l2) argument 205 set (l1, l2); 235 void set (const Line& l1, const Line& l2); 412 bool decompose (Line& l1, Line& l2) const;
|
H A D | line.h | 425 bool are_parallel(Line const &l1, Line const &l2, double eps = EPSILON) argument 427 return are_near(cross(l1.vector(), l2.vector()), 0, eps); 438 bool are_same(Line const &l1, Line const &l2, double eps = EPSILON) argument 440 return are_parallel(l1, l2, eps) && are_near(l1.origin(), l2, eps); 446 bool are_orthogonal(Line const &l1, Line const &l2, double eps = EPSILON) argument 448 return are_near(dot(l1.vector(), l2.vector()), 0, eps); 451 // evaluate the angle between l1 and l2 rotating l1 in cw direction 452 // until it overlaps l2 455 double angle_between(Line const& l1, Line const& l2) argument 544 intersection(Ray const& r1, Line const& l2) argument 557 intersection(LineSegment const& ls1, Line const& l2) argument [all...] |
H A D | conicsec.cpp | 919 * l1, l2: lines that made up the conic section 921 void xAx::set (const Line& l1, const Line& l2) argument 924 std::vector<double> cl2 = l2.coefficients(); 1251 * l1, l2: out parameters where the decomposed conic section is returned 1253 bool xAx::decompose (Line& l1, Line& l2) const 1322 l2.setCoefficients (M(0, j_max), M(1,j_max), M(2,j_max));
|
/inkscape/src/live_effects/ |
H A D | spiro.cpp | 455 double l, l2, l3; local 474 l2 = l * l; 475 k1_even = l2 * (ks[1] + .125 * ks[3]); 476 k1_odd = l2 * .5 * ks[2]; 479 l3 = l2 * l;
|
/inkscape/share/extensions/ |
H A D | gcodetools.py | 739 if (P(subpath[-1][1])-P(subpath[0][1])).l2() > 1e-10 : 833 def csp_line_intersection(l1,l2,sp1,sp2): 835 cc=l2[0]-l1[0] 837 aa=l2[1]-l1[1] 1226 def csp_clip_by_line(csp,l1,l2) : 1232 intersections += [ [j,int_] for int_ in csp_line_intersection(l1,l2,s[j-1],s[j])] 1237 if (l1[1]-l2[1])*p[0] + (l2[0]-l1[0])*p[1] + (l1[0]*l2[1]-l2[ 1670 def l2(self): return self.x*self.x + self.y*self.y member in class:P 1750 def l2(self): return (self.st-self.end).l2() member in class:Line [all...] |