testRayAar

Test whether the ray with the given <code>origin</code> and direction <code>dir</code> intersects the given axis-aligned rectangle specified as its minimum corner <code>min</code> and maximum corner <code>max</code>. <p> This method returns <code>true</code> for a ray whose origin lies inside the axis-aligned rectangle. <p> Reference: <a href="https://dl.acm.org/citation.cfm?id=1198748">An Efficient and Robust Ray–Box Intersection</a>

@see #testRayAar(double, double, double, double, double, double, double, double)

@param origin the ray's origin @param dir the ray's direction @param min the minimum corner of the axis-aligned rectangle @param max the maximum corner of the axis-aligned rectangle @return <code>true</code> if the given ray intersects the axis-aligned rectangle; <code>false</code> otherwise

Meta