Lines Matching refs:edge
1190 // image boundary, missing fragment could be over the image edge
2149 // a) too far from any edge
2156 const I64Vec2 edge = triangleSubPixelSpaceRound[otherVtxNdx] - triangleSubPixelSpaceRound[vtxNdx];
2158 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x());
2160 // distance from edge: (edge x v) / |edge|
2161 // (edge x v) / |edge| > maxPixelDistance
2162 // ==> (edge x v)^2 / edge^2 > maxPixelDistance^2 | edge x v > 0
2163 // ==> (edge x v)^2 > maxPixelDistance^2 * edge^2
2164 if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(edge))
2166 if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(edge))
2174 // Accurate intersection for edge pixels
2207 // Test if any edge (with any rounding) intersects the pixel (boundary). If it does => Partial. If not => fully inside or outside
2232 const I64Vec2 edge = endPos - startPos;
2234 const deInt64 crossProduct = (edge.x() * v.y() - edge.y() * v.x());
2255 << "Unknown (subpixel on edge) pixels are marked with yellow."
2335 // Sharing an edge with another triangle?
2338 // Assume full coverage if the pixel is only on a shared edge in shared triangle too.