Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
position
Returns a random position in a cuboid volume (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 cuboid
- lengthX
- Type:
System Double
The x-coordinate of the length
- lengthY
- Type:
System Double
The y-coordinate of the width
- lengthZ
- Type:
System Double
The z-coordinate of the height
- beamDiaFWHM
- Type:
System Double
Beam diameter at FWHM
- rng
- Type:
System Random
The random number generator
Return Value
Type: Positionposition
See Also