Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Method to provide refracted direction of photon.
Namespace: Vts.MonteCarloAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- currentPosition
- Type: Vts.Common Position
current position of photon
- currentDirection
- Type: Vts.Common Direction
current direction of photon
- currentN
- Type: System Double
refractive index of current tissue type
- nextN
- Type: System Double
refractive index of next tissue type
- cosThetaSnell
- Type: System Double
cos(theta) of the refracted direction according to Snell's law
Return Value
Type: DirectionSee Also