VPOptics Fresnel Method Virtual Photonics - VTS Library
Virtual Photonics
Fresnel calculates the reflection coefficient when light moves from one medium to another

Namespace: Vts.MonteCarlo.Helpers
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static double Fresnel(
	double n1,
	double n2,
	double ci,
	out double uz_snell
)

Parameters

n1
Type: OnlineSystem Double
refractive index of current medium
n2
Type: OnlineSystem Double
refractive index of next medium
ci
Type: OnlineSystem Double
cosine of the angle with interface normal
uz_snell
Type: OnlineSystem Double 
cosine of the transmitted light with interface normal

Return Value

Type: OnlineDouble
reflection probability
See Also