VPSourceToolbox GetDirectionForGivenPolarAzimuthalAngleRangeRandom Method Virtual Photonics - VTS Library
Virtual Photonics
Provides a direction after uniform sampling of given polar angle range and azimuthal angle range

Namespace: Vts.MonteCarlo.Helpers
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static Direction GetDirectionForGivenPolarAzimuthalAngleRangeRandom(
	DoubleRange polarAngleEmissionRange,
	DoubleRange azimuthalAngleEmissionRange,
	Random rng
)

Return Value

Type: Direction
direction
See Also