cherab.phix.machine.material.PCTFE.evaluate_surface#

PCTFE.evaluate_surface()#

Virtual method for evaluating the spectrum at a material surface.

Parameters:
  • 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.).

  • hit_point (Point3D) – The point where the ray is incident on the primitive surface.

  • exiting (bool) – Boolean toggle indicating if this ray is exiting or entering the material surface (True means ray is exiting).

  • inside_point (Point3D) –

  • outside_point (Point3D) –

  • normal (Normal3D) – The surface normal vector at location of hit_point.

  • 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.