VPCustomSurfaceEmittingSphericalSource Constructor Virtual Photonics - VTS Library
Virtual Photonics
Returns an instance of Custom Spherical Surface Emitting Source with a user defined surface area (based on polar azimuthal angle range), new source axis direction, and translation,

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

public CustomSurfaceEmittingSphericalSource(
	double radius,
	DoubleRange polarAngleRangeToDefineSphericalSurface,
	DoubleRange azimuthalAngleRangeToDefineSphericalSurface,
	Direction newDirectionOfPrincipalSourceAxis = null,
	Position translationFromOrigin = null,
	int initialTissueRegionIndex = 0
)

Parameters

radius
Type: OnlineSystem Double
The radius of the sphere
polarAngleRangeToDefineSphericalSurface
Type: Vts.Common DoubleRange
Polar angle range to define the emitting area of the sphere
azimuthalAngleRangeToDefineSphericalSurface
Type: Vts.Common DoubleRange
Azimuthal angle range to define the emitting area of the sphere
newDirectionOfPrincipalSourceAxis (Optional)
Type: Vts.Common Direction
New source axis direction
translationFromOrigin (Optional)
Type: Vts.Common Position
New source location
initialTissueRegionIndex (Optional)
Type: OnlineSystem Int32
Initial tissue region index
See Also