Home | History | Annotate | Download | only in Intersection

Lines Matching refs:yMin

25     size_t yMin = 0;
27 if (cubic[yMin].y > cubic[index].y || (cubic[yMin].y == cubic[index].y
28 && cubic[yMin].x > cubic[index].x)) {
29 yMin = index;
32 order[0] = yMin;
37 if (index == yMin) {
40 // rotate line from (yMin, index) to axis
43 int mask = other_two(yMin, index);
44 int side1 = yMin ^ mask;
47 if (!rotate(cubic, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx]
52 int sides = side(rotPath[side1].y - rotPath[yMin].y);
53 sides ^= side(rotPath[side2].y - rotPath[yMin].y);
69 yMin = backupYMin;
73 midX = yMin ^ 3; // choose any other point
75 int mask = other_two(yMin, midX);
76 int least = yMin ^ mask;
78 order[0] = yMin;
81 // see if mid value is on same side of line (least, most) as yMin
87 int midSides = side(midPath[yMin].y - midPath[least].y);