Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourceDirApodIsotropic

 

GetSourceDirApodIsotropic

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the power data from a source with a "Inverse Lambertian in a given direction" power direction apodization type.

 

Syntax

success = GetSourceDirApodIsotropic ( n, dirX, dirY, dirZ, cosThreshold )

 

Parameters

success (Boolean)

Indicates if the function succeeded (True) or failed (False).

 

n As Long

Node number of the source.

 

dirX As Double

Returns the X component of the direction vector.

 

dirY As Double

Returns the Y component of the direction vector.

 

dirZ As Double

Returns the Z component of the direction vector.

 

cosThreshold As Double

Returns the limiting angle, a value greater than or equal to 0° and less than 90°.

 

Remarks

This function retrieves the power data from a source with a "Inverse Lambertian in a given direction" power direction apodization type. If there is a problem the function returns False and does not set an error.

 

See Also

IsSourceDirApodIsotropic

SetSourceDirApodIsotropic

 

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC