Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourceDirFuncType

 

GetSourceDirFuncType

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the type of ray direction.

 

Syntax

funcType = GetSourceDirFuncType ( n )

 

 

Parameters

funcType (String)

Returns the type of ray direction type.

 

n As Long

Node number of the source.

 

 

Remarks

This function retrieves the type of ray direction. If there is a problem the function does not set an error and returns an empty string.

 

Ray Direction Type

funcType ( string )

Single Direction (plane wave)

SRCDirOneDirection

Random Directions into an angular range

SRCDirRandomDir

Random directions into a sphere

SRCDirRanSphericalDir

Focus to/from a point

SRCDirFocus

Directions to rectilinear grid points

SRCDirGrid

Directions to hexagonal grid points in angle space

SRCDirHexGrid

Focus to/from two astigmatic foci

SRCDirAstigFocus

Astigmatic Gaussian Beam

SRCDirAstigGausBeam

Multiple source angles (plane waves)

SRCDirMultiAngle

Multiple source positions

SRCDirMultiPos

 

 

See Also

GetSourcePosFuncType

GetSourceDirApodFuncType

GetSourcePosApodFuncType

 

 

 

 

 

Copyright © Photon Engineering, LLC