Lines Matching refs:EPSILON
63 static const double EPSILON = 1e-7; variable
222 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON; in ccw()
301 if (delta.lengthSquared() < EPSILON) { in intersection()
334 if (delta.lengthSquared() >= EPSILON) { in intersection()
519 if (((x - x1) * (x - x2) > EPSILON) in lineIntersection()
520 || ((x - x3) * (x - x4) > EPSILON) in lineIntersection()
521 || ((y - y1) * (y - y2) > EPSILON) in lineIntersection()
522 || ((y - y3) * (y - y4) > EPSILON)) { in lineIntersection()
813 int rayIndex = floor((startAngle - EPSILON) / step); in convertPolyToRayDist()
829 int firstRayIndexOnNextSegment = floor((currentAngle - EPSILON) / step); in convertPolyToRayDist()
1590 bool isCCWOrCoLinear = (delta >= EPSILON); in testConvex()