Lines Matching refs:x0

46                                   double x0, double y0,
50 curves.add(new Order1(x0, y0,
55 x0, y0,
63 double x0, double y0,
71 x0, y0,
78 x0, y0,
86 double x0, double y0,
95 x0, y0,
102 x0, y0,
204 * Calculates the number of times the line from (x0,y0) to (x1,y1)
211 double x0, double y0,
217 if (px >= x0 && px >= x1) return 0;
218 if (px < x0 && px < x1) return (y0 < y1) ? 1 : -1;
219 double xintercept = x0 + (py - y0) * (x1 - x0) / (y1 - y0);
225 * Calculates the number of times the quad from (x0,y0) to (x1,y1)
235 double x0, double y0,
242 if (px >= x0 && px >= xc && px >= x1) return 0;
243 if (px < x0 && px < xc && px < x1) {
254 if (level > 52) return pointCrossingsForLine(px, py, x0, y0, x1, y1);
255 double x0c = (x0 + xc) / 2;
268 x0, y0, x0c, y0c, xc, yc,
276 * Calculates the number of times the cubic from (x0,y0) to (x1,y1)
286 double x0, double y0,
294 if (px >= x0 && px >= xc0 && px >= xc1 && px >= x1) return 0;
295 if (px < x0 && px < xc0 && px < xc1 && px < x1) {
306 if (level > 52) return pointCrossingsForLine(px, py, x0, y0, x1, y1);
309 xc0 = (x0 + xc0) / 2;
326 x0, y0, xc0, yc0,
484 double x0, double y0,
489 if (x0 <= rxmin && x1 <= rxmin) return crossings;
490 if (x0 >= rxmax && x1 >= rxmax) {
513 if ((x0 > rxmin && x0 < rxmax && y0 > rymin && y0 < rymax) ||
520 double xi0 = x0;
522 xi0 += ((rymin - y0) * (x1 - x0) / (y1 - y0));
524 xi0 += ((rymax - y0) * (x1 - x0) / (y1 - y0));
528 xi1 += ((rymin - y1) * (x0 - x1) / (y0 - y1));
530 xi1 += ((rymax - y1) * (x0 - x1) / (y0 - y1));
558 double x0, double y0,
565 if (x0 <= rxmin && xc <= rxmin && x1 <= rxmin) return crossings;
566 if (x0 >= rxmax && xc >= rxmax && x1 >= rxmax) {
589 if ((x0 < rxmax && x0 > rxmin && y0 < rymax && y0 > rymin) ||
599 x0, y0, x1, y1);
601 double x0c = (x0 + xc) / 2;
615 x0, y0, x0c, y0c, xc, yc,
634 double x0, double y0,
646 if (x0 <= rxmin && xc0 <= rxmin && xc1 <= rxmin && x1 <= rxmin) {
649 if (x0 >= rxmax && xc0 >= rxmax && xc1 >= rxmax && x1 >= rxmax) {
672 if ((x0 > rxmin && x0 < rxmax && y0 > rymin && y0 < rymax) ||
682 x0, y0, x1, y1);
686 xc0 = (x0 + xc0) / 2;
704 x0, y0, xc0, yc0,