Home | History | Annotate | Download | only in core

Lines Matching refs:e0

225     VertexType classify(Vertex **e0, Vertex **e1);
462 Vertex::VertexType Vertex::classify(Vertex **e0, Vertex **e1) {
476 *e0 = prev();
479 // The are both above: sort so that e0 is on the left.
482 *e0 = this;
485 *e0 = prev();
492 *e0 = this; // flat to the left
496 *e0 = prev(); // concave to the left
504 *e0 = this;
507 // They are both below: sort so that e0 is on the left.
510 *e0 = prev();
513 *e0 = this;
520 *e0 = this; // flat to the left
524 *e0 = prev(); // convex to the left - try monotone first
533 *e0 = prev(); // flat to the left
537 *e0 = this; // concave on the left - defer
544 *e0 = prev(); // flat to the left
548 *e0 = this; // convex to the left - try monotone first
556 *e0 = prev(); // flat to the left
560 *e0 = this; // flat to the left
590 Vertex *e0, *e1;
591 Vertex::VertexType type = vt[i].classify(&e0, &e1);
596 GetVertexTypeString(type), e0 - vt, e1 - vt);
615 Vertex *e0, *e1;
617 Vertex::VertexType type = vt->classify(&e0, &e1);
622 GetVertexTypeString(type), e0 - vtBase, e1 - vtBase);
718 Vertex *e0, *e1;
720 switch (vt->classify(&e0, &e1)) {
723 DebugPrintf("MONOTONE %d %d\n", e0 - vta, e1 - vta);
725 t = incompleteTrapezoids.getTrapezoidWithEdge(e0);
727 DebugPrintf("Monotone: cannot find a trapezoid with e0: "
734 if (e0 == t->left()) // Replace the left edge.
743 DebugPrintf("CONVEX %d %d\n", e0 - vta, e1 - vta);
751 incompleteTrapezoids.insertNewTrapezoid(vt, t->left(), e0);
755 incompleteTrapezoids.insertNewTrapezoid(vt, e0, e1);
760 DebugPrintf("CONCAVE %d %d\n", e0 - vta, e1 - vta);
762 t = incompleteTrapezoids.getTrapezoidWithEdge(e0);
764 DebugPrintf("Concave: cannot find a trapezoid with e0: "
769 if (e0 == t->left() && e1 == t->right()) {