Home | History | Annotate | Download | only in core

Lines Matching defs:e0

218     VertexType classify(Vertex **e0, Vertex **e1);
455 Vertex::VertexType Vertex::classify(Vertex **e0, Vertex **e1) {
469 *e0 = prev();
472 // The are both above: sort so that e0 is on the left.
475 *e0 = this;
478 *e0 = prev();
485 *e0 = this; // flat to the left
489 *e0 = prev(); // concave to the left
497 *e0 = this;
500 // They are both below: sort so that e0 is on the left.
503 *e0 = prev();
506 *e0 = this;
513 *e0 = this; // flat to the left
517 *e0 = prev(); // convex to the left - try monotone first
526 *e0 = prev(); // flat to the left
530 *e0 = this; // concave on the left - defer
537 *e0 = prev(); // flat to the left
541 *e0 = this; // convex to the left - try monotone first
549 *e0 = prev(); // flat to the left
553 *e0 = this; // flat to the left
583 Vertex *e0, *e1;
584 Vertex::VertexType type = vt[i].classify(&e0, &e1);
589 GetVertexTypeString(type), e0 - vt, e1 - vt);
608 Vertex *e0, *e1;
610 Vertex::VertexType type = vt->classify(&e0, &e1);
615 GetVertexTypeString(type), e0 - vtBase, e1 - vtBase);
711 Vertex *e0, *e1;
713 switch (vt->classify(&e0, &e1)) {
716 DebugPrintf("MONOTONE %d %d\n", e0 - vta, e1 - vta);
718 t = incompleteTrapezoids.getTrapezoidWithEdge(e0);
720 DebugPrintf("Monotone: cannot find a trapezoid with e0: "
727 if (e0 == t->left()) // Replace the left edge.
736 DebugPrintf("CONVEX %d %d\n", e0 - vta, e1 - vta);
744 incompleteTrapezoids.insertNewTrapezoid(vt, t->left(), e0);
748 incompleteTrapezoids.insertNewTrapezoid(vt, e0, e1);
753 DebugPrintf("CONCAVE %d %d\n", e0 - vta, e1 - vta);
755 t = incompleteTrapezoids.getTrapezoidWithEdge(e0);
757 DebugPrintf("Concave: cannot find a trapezoid with e0: "
762 if (e0 == t->left() && e1 == t->right()) {