VPIsotropicLineSource Constructor Virtual Photonics - VTS Library
Virtual Photonics
Returns an instance of isotropicLineSource with line length, source profile, direction, position, inward normal beam rotation and initial tissue region index.

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

public IsotropicLineSource(
	double lineLength,
	ISourceProfile sourceProfile,
	Direction newDirectionOfPrincipalSourceAxis = null,
	Position translationFromOrigin = null,
	PolarAzimuthalAngles beamRotationFromInwardNormal = null,
	int initialTissueRegionIndex = 0
)

Parameters

lineLength
Type: OnlineSystem Double
The length of the line source
sourceProfile
Type: Vts.MonteCarlo.Interfaces ISourceProfile
Source Profile {Flat / Gaussian}
newDirectionOfPrincipalSourceAxis (Optional)
Type: Vts.Common Direction
New source axis direction
translationFromOrigin (Optional)
Type: Vts.Common Position
New source location
beamRotationFromInwardNormal (Optional)
Type: Vts.MonteCarlo.Helpers PolarAzimuthalAngles
Ray rotation from inward normal
initialTissueRegionIndex (Optional)
Type: OnlineSystem Int32
Initial tissue region index
See Also