Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Returns an instance of directional (diverging/converging/collimated) Rectangular Source with specified length and width,
source profile (Flat/Gaussian), polar and azimuthal angle range, new source axis direction, translation, and inward normal ray rotation
Namespace: Vts.MonteCarlo.SourcesAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
public DirectionalRectangularSource( double thetaConvOrDiv, double rectLengthX, double rectWidthY, ISourceProfile sourceProfile, Direction newDirectionOfPrincipalSourceAxis = null, Position translationFromOrigin = null, PolarAzimuthalAngles beamRotationFromInwardNormal = null, int initialTissueRegionIndex = 0 )
Parameters
- thetaConvOrDiv
- Type: System Double
Covergence or Divergance Angle {= 0, for a collimated beam}
- rectLengthX
- Type: System Double
The length of the Rectangular Source
- rectWidthY
- Type: System Double
The width of the Rectangular 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
Polar Azimuthal Rotational Angle of inward Normal
- initialTissueRegionIndex (Optional)
- Type: System Int32
Initial tissue region index
See Also