Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
position
Provides a random position in a circle (Gaussisan 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 circle
- outerRadius
- Type:
System Double
The outer radius of the circle
- innerRadius
- Type:
System Double
The inner radius of the circle
- beamDiaFWHM
- Type:
System Double
Beam diameter at FWHM
- rng
- Type:
System Random
The random number generator
Return Value
Type: Positionposition
See Also