Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
position
Provides a random position in an ellipse (Gaussian distribution)
Namespace: Vts.MonteCarlo.HelpersAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- center
- Type: Vts.Common Position
The center coordiantes of the ellipse
- a
- Type:
System Double
'a' parameter of the ellipse
- b
- Type:
System Double
'b' parameter of the ellipse
- beamDiaFWHM
- Type:
System Double
Beam diameter at FWHM
- rng
- Type:
System Random
The random number generator
Return Value
Type: Positionposition
See Also