Home | History | Annotate | Download | only in Intersection

Lines Matching refs:intersections

8 #include "Intersections.h"
16 static const double tClipLimit = 0.8; // http://cagd.cs.byu.edu/~tom/papers/bezclip.pdf see Multiple intersections
21 QuadraticIntersections(const Quadratic& q1, const Quadratic& q2, Intersections& i)
24 , intersections(i)
42 intersections.swap();
64 sub_divide(quad1, minT1, maxT1, intersections.swapped() ? larger : smaller);
65 sub_divide(quad2, minT2, maxT2, intersections.swapped() ? smaller : larger);
71 if (intersections.swapped()) {
94 intersections.add(smallT, largeT);
100 if (intersections.swapped()) {
129 if (intersections.swapped()) {
167 intersections.addCoincident(smallT1, smallT2, largeT1, largeT2);
171 intersections.add(smallT1, largeT1);
174 Intersections lq;
196 intersections.addCoincident(smallT1, smallT2, largeT1, largeT2);
208 intersections.add(smallT1, largeT1);
223 intersections.swap();
236 intersections.swap();
238 return intersections.intersected();
241 intersections.swap();
250 Intersections& intersections;
263 static void hackToFixPartialCoincidence(const Quadratic& q1, const Quadratic& q2, Intersections& i) {
372 bool intersect(const Quadratic& q1, const Quadratic& q2, Intersections& i) {
375 // compute the intersections of the ends to find the coincident span