Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
new direction of photon
method to determine refracted direction of photon given its current position and direction
Namespace: Vts.MonteCarlo.TissuesAssembly: 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
current refractive index
- nextN
- Type:
System Double
refractive index of next tissue region
- cosThetaSnell
- Type:
System Double
cos(theta) according to Snell's law of refracted angle
Return Value
Type: Directionnew direction of photon
Implements
ITissue GetRefractedDirection(Position, Direction, Double, Double, Double)See Also