cherab.phix.machine.material.SUS316L.evaluate_volume#

SUS316L.evaluate_volume()#

Virtual method for evaluating the spectrum emitted/absorbed along the rays trajectory through a material surface.

Parameters:
  • spectrum (Spectrum) – The spectrum already accumulated along the ray path. Don’t overwrite this array, add the materials emission/absorption to the existing spectrum.

  • world (World) – The world scenegraph belonging to this material.

  • ray (Ray) – The ray incident at the material surface.

  • primitive (Primitive) – The geometric shape the holds this material (i.e. mesh, cylinder, etc.).

  • start_point (Point3D) – The starting point of the ray’s trajectory through the material.

  • end_point (Point3D) – The end point of the ray’s trajectory through the material.

  • world_to_primitive (AffineMatrix3D) – Affine matrix defining transformation from world space to local primitive space.

  • primitive_to_world (AffineMatrix3D) – Affine matrix defining transformation from local primitive space to world space.