Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
direction
method to determine refracted direction of photon
Namespace: Vts.MonteCarlo.TissuesAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- positionCurrent
- Type: Vts.Common Position
current photon position
- directionCurrent
- Type: Vts.Common Direction
current photon direction
- nCurrent
- Type:
System Double
refractive index of current region
- nNext
- Type:
System Double
refractive index of next region
- cosThetaSnell
- Type:
System Double
cos(theta) resulting from Snell's law
Return Value
Type: Directiondirection
Implements
ITissue GetRefractedDirection(Position, Direction, Double, Double, Double)See Also