Lines Matching defs:eLo

503  * eUp->Org is above eLo, or eLo->Org is below eUp (depending on which
510 * point we checked eUp and eLo, and decided that eUp->Org is barely
511 * above eLo. Then later, we split eLo into two edges (eg. from
513 * our test so that now eUp->Org is incident to eLo, or barely below it.
518 * CheckForIntersect requires that tess->event lies between eUp and eLo,
529 GLUhalfEdge *eLo = regLo->eUp;
531 if( VertLeq( eUp->Org, eLo->Org )) {
532 if( EdgeSign( eLo->Dst, eUp->Org, eLo->Org ) > 0 ) return FALSE;
534 /* eUp->Org appears to be below eLo */
535 if( ! VertEq( eUp->Org, eLo->Org )) {
536 /* Splice eUp->Org into eLo */
537 if ( __gl_meshSplitEdge( eLo->Sym ) == NULL) longjmp(tess->env,1);
538 if ( !__gl_meshSplice( eUp, eLo->Oprev ) ) longjmp(tess->env,1);
541 } else if( eUp->Org != eLo->Org ) {
544 SpliceMergeVertices( tess, eLo->Oprev, eUp );
547 if( EdgeSign( eUp->Dst, eLo->Org, eUp->Org ) < 0 ) return FALSE;
549 /* eLo->Org appears to be above eUp, so splice eLo->Org into eUp */
552 if ( !__gl_meshSplice( eLo->Oprev, eUp ) ) longjmp(tess->env,1);
560 * eUp->Dst is above eLo, or eLo->Dst is below eUp (depending on which
565 * suppose at one point we checked eUp and eLo, and decided that eUp->Dst
566 * is barely above eLo. Then later, we split eLo into two edges (eg. from
568 * the test so that now eUp->Dst is incident to eLo, or barely below it.
579 GLUhalfEdge *eLo = regLo->eUp;
582 assert( ! VertEq( eUp->Dst, eLo->Dst ));
584 if( VertLeq( eUp->Dst, eLo->Dst )) {
585 if( EdgeSign( eUp->Dst, eLo->Dst, eUp->Org ) < 0 ) return FALSE;
587 /* eLo->Dst is above eUp, so splice eLo->Dst into eUp */
591 if ( !__gl_meshSplice( eLo->Sym, e ) ) longjmp(tess->env,1);
594 if( EdgeSign( eLo->Dst, eUp->Dst, eLo->Org ) > 0 ) return FALSE;
596 /* eUp->Dst is below eLo, so splice eUp->Dst into eLo */
598 e = __gl_meshSplitEdge( eLo );
600 if ( !__gl_meshSplice( eUp->Lnext, eLo->Sym ) ) longjmp(tess->env,1);
620 GLUhalfEdge *eLo = regLo->eUp;
622 GLUvertex *orgLo = eLo->Org;
624 GLUvertex *dstLo = eLo->Dst;
697 if ( !__gl_meshSplice( eLo->Sym, eUp ) ) longjmp(tess->env,1);
706 /* Splice dstUp into eLo, and process the new region(s) */
707 if (__gl_meshSplitEdge( eLo->Sym ) == NULL) longjmp(tess->env,1);
708 if ( !__gl_meshSplice( eUp->Lnext, eLo->Oprev ) ) longjmp(tess->env,1);
712 regLo->eUp = eLo->Oprev;
713 eLo = FinishLeftRegions( tess, regLo, NULL );
714 AddRightEdges( tess, regUp, eLo->Onext, eUp->Rprev, e, TRUE );
729 if (__gl_meshSplitEdge( eLo->Sym ) == NULL) longjmp(tess->env,1);
730 eLo->Org->s = tess->event->s;
731 eLo->Org->t = tess->event->t;
743 * unprocessed original contours (which will be eLo->Oprev->Lface).
746 if (__gl_meshSplitEdge( eLo->Sym ) == NULL) longjmp(tess->env,1);
747 if ( !__gl_meshSplice( eLo->Oprev, eUp ) ) longjmp(tess->env,1);
772 GLUhalfEdge *eUp, *eLo;
790 eLo = regLo->eUp;
792 if( eUp->Dst != eLo->Dst ) {
802 if ( !__gl_meshDelete( eLo ) ) longjmp(tess->env,1);
804 eLo = regLo->eUp;
813 if( eUp->Org != eLo->Org ) {
814 if( eUp->Dst != eLo->Dst
816 && (eUp->Dst == tess->event || eLo->Dst == tess->event) )
837 if( eUp->Org == eLo->Org && eUp->Dst == eLo->Dst ) {
839 AddWinding( eLo, eUp );
886 GLUhalfEdge *eLo = regLo->eUp;
889 if( eUp->Dst != eLo->Dst ) {
904 if( VertEq( eLo->Org, tess->event )) {
905 if ( !__gl_meshSplice( eBottomLeft, eLo->Oprev ) ) longjmp(tess->env,1);
915 * Connect to the closer of eLo->Org, eUp->Org.
917 if( VertLeq( eLo->Org, eUp->Org )) {
918 eNew = eLo->Oprev;
1020 GLUhalfEdge *eUp, *eLo, *eNew;
1031 eLo = regLo->eUp;
1042 reg = VertLeq( eLo->Dst, eUp->Dst ) ? regUp : regLo;
1049 GLUhalfEdge *tempHalfEdge= __gl_meshConnect( eLo->Dnext, vEvent->anEdge);