src/bbox.c
int intv_do_intersect(struct intv *i0, struct intv *i1)
{
    if((i0->lb <= i1->lb && i1->lb <= i0->ub) ||
       (i1->lb <= i0->lb && i0->lb <= i1->ub))
        return 1;
    else
        return 0;
}
/*
  Test if 1-d interval i0 intersects i1.
*/
Test if 1-d interval i0 intersects i1.
Test if 1 - d interval i0 intersects i1 .
int intv_do_intersect(struct intv *i0, struct intv *i1)
{
    if((i0->lb <= i1->lb && i1->lb <= i0->ub) ||
       (i1->lb <= i0->lb && i0->lb <= i1->ub))
        return 1;
    else
        return 0;
}
int intv_do_intersect ( struct intv * i0 , struct intv * i1 ) { if ( ( i0 -> lb <= i1 -> lb && i1 -> lb <= i0 -> ub ) || ( i1 -> lb <= i0 -> lb && i0 -> lb <= i1 -> ub ) ) return 1 ; else return 0 ; }
Test if 1-d interval i0 intersects i1.
Test if 1 - d interval i0 intersects i1 .