Class SnellLaw
java.lang.Object
org.episteme.natural.physics.classical.waves.optics.SnellLaw
Snell's Law and Fresnel equations for ray optics.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RealbrewsterAngle(Real n1, Real n2) Brewster's angle: $\theta_B = \arctan(n_2 / n_1)$static RealFresnel reflectance for p-polarized light (TM mode).static RealFresnel reflectance for s-polarized light (TE mode).static RealSnell's Law: $n_1 \sin\theta_1 = n_2 \sin\theta_2$
-
Constructor Details
-
SnellLaw
public SnellLaw()
-
-
Method Details
-
refract
Snell's Law: $n_1 \sin\theta_1 = n_2 \sin\theta_2$- Parameters:
theta1- Incident angle (radians)n1- Refractive index of incident mediumn2- Refractive index of transmitted medium- Returns:
- Refracted angle (radians), or null if total internal reflection
-
fresnelRs
-
fresnelRp
-
brewsterAngle
-