Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Double
position in a line
Provides a flat random location of a symmetrical line
Namespace: Vts.MonteCarlo.HelpersAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
Parameters
- length
- Type:
System Double
The length of the line
- rng
- Type:
System Random
The random number generator
Return Value
Type:
position in a line
See Also