dhart.raytracer.IntersectDistanceDouble

dhart.raytracer.IntersectDistanceDouble(bvh: EmbreeBVH, origin: Tuple[float, float, float], direction: Tuple[float, float, float]) float

Obtain the distance between a raycast and a point of intersection with double precision

Parameters:
Returns:

Distance from origin to the point of intersection. If this value is less than 1 then

no intersection could be found.

Return type:

float