RayTrace
- class raytracing.RayTrace(rays=None)
Bases:
objectA single ray trace: the path of one ray through an optical system.
When a ray is propagated through optical elements, it produces a sequence of Ray objects (one per element). This class wraps that sequence with a clean interface for indexing, iteration, and display.
- Parameters:
rays (list of Ray, optional) – The sequence of rays forming this trace.
- property lastRay
The final ray after propagation through all elements.
Methods
|
Inherited Methods
Attributes
The final ray after propagation through all elements. |