chbergmann / OpticsWorkbench

GNU Lesser General Public License v3.0
69 stars 23 forks source link

When a RAY hits an ABSORBER the coordinates are stored #34

Closed txominvs closed 1 year ago

txominvs commented 1 year ago

When a RAY hits an ABSORBER, the COORDINATES of the hit are stored in a property called "HitCoordsFromBeam". This property contains a LIST of all the hit coordinates.

This approach generalizes the "HitsFromBeam" property which only counts the NUMBER of hits in the absorber.

This is useful to simulate the image recorded on a CCD sensor, by declaring the geometry of the CCD as an ABSORBER.