System4f.trace

raytracing.System4f.trace(self, inputRay)

Trace the input ray from first element until after the last element, indicating if the ray was blocked or not.

Parameters:

inputRay (object of ray class) – A ray with height y and angle theta

Returns:

rayTrace – Returns a ray trace (i.e. [Ray()]) starting with inputRay, followed by the ray after each element.

Return type:

object of ray class

Notes

If an element is composed of sub-elements, the ray will also be traced in several steps. If any element blocks the ray, it will be indicated.