Home | History | Annotate | Download | only in Intersection

Lines Matching refs:hodo

12 void hodograph(const Cubic& cubic, Quadratic& hodo) {
13 hodo[0].x = 3 * (cubic[1].x - cubic[0].x);
14 hodo[0].y = 3 * (cubic[1].y - cubic[0].y);
15 hodo[1].x = 3 * (cubic[2].x - cubic[1].x);
16 hodo[1].y = 3 * (cubic[2].y - cubic[1].y);
17 hodo[2].x = 3 * (cubic[3].x - cubic[2].x);
18 hodo[2].y = 3 * (cubic[3].y - cubic[2].y);
23 Quadratic hodo;
24 hodograph(cubic, hodo);
25 hodograph(hodo, hodo2);