VPSourceToolbox UpdateDirectionPositionAfterRotatingByGivenAnglePair Method Virtual Photonics - VTS Library
Virtual Photonics
Update the direction and position of the source after rotating by a given polar and azimuthal angle

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

public static void UpdateDirectionPositionAfterRotatingByGivenAnglePair(
	PolarAzimuthalAngles rotationAnglePair,
	ref Direction currentDirection,
	ref Position currentPosition
)

Parameters

rotationAnglePair
Type: Vts.MonteCarlo.Helpers PolarAzimuthalAngles
polar and azimuthal angle angle pair
currentDirection
Type: Vts.Common Direction 
The direction to be updated
currentPosition
Type: Vts.Common Position 
The position to be updated
See Also