Searched defs:intersection (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp104 * Calculate the intersection of a ray with the line segment defined by two points.
118 // intersection point should stay on both the ray and the edge of (p1, p2).
153 * @return the number of points in the polygon 0 if no intersection
535 // Compute the umbra by the intersection from the outline's centroid!
680 // Allow some epsilon here since the later ray intersection did allow for some small
681 // floating point error, when the intersection point is slightly outside the segment.
832 // If the ray hit the polygon first, then return the intersection point as the
998 // shorter distance to the centroid, b/t the umbra vertex or the intersection point.
1103 * Test whether or not the polygon (intersection) is within the 2 input polygons.
1105 * intersection, the
1107 testIntersection(const Vector2* poly1, int poly1Length, const Vector2* poly2, int poly2Length, const Vector2* intersection, int intersectionLength) argument
[all...]

Completed in 8 milliseconds