Home | History | Annotate | Download | only in src

Lines Matching refs:seg1

1459 bool CirclesGridFinder::areSegmentsIntersecting(Segment seg1, Segment seg2)
1461 bool doesStraddle1 = (getDirection(seg2.s, seg2.e, seg1.s) * getDirection(seg2.s, seg2.e, seg1.e)) < 0;
1462 bool doesStraddle2 = (getDirection(seg1.s, seg1.e, seg2.s) * getDirection(seg1.s, seg1.e, seg2.e)) < 0;
1474 bool seg1 = ((n1.ddot(s2) + c1) * (n1.ddot(e2) + c1)) <= 0;
1475 bool seg1 = ((n2.ddot(s1) + c2) * (n2.ddot(e1) + c2)) <= 0;
1477 return seg1 && seg2;