Navigation: Scripting Reference Manual > Functions & Subroutines > IntensityToARN

 

IntensityToARN

 

Contact Us: fredsupport@photonengr.com

 

Description

Computes the Intensity on Polar Grid using a directional analysis entity and returns the results to an ARN.  If the analysis surface provided is not a DAE, an error message is returned and the operation is halted.  Depending on the number of rays traced, it may be necessary to dimension ray index and ray counter variables as data type Huge_ instead of Long.  Please see Multi-threaded Raytracing for more information.

 

 

Syntax

numRays = IntensityToARN( anaNode, arnName, arnNode )

 

 

Parameters

numRays (Long or Huge_)

Number of rays included in the analysis.

 

anaNode As Long

Node number of the DAE to be used in the analysis.  The DAE's ray filters are applied.

 

arnName As String

Name of the ARN being created.

 

arnNode As Long

Node number of the newly created ARN.  Returned by the function.

 

 

Remarks

The following example performs an Intensity calculation on an existing rayset using a DAE.

 

Dim daeNode As Long

Dim arnNode As Long

Dim numRays As Long

 

daeNode = FindFullName( "Analysis Surface(s).Analysis 1" )

numRays = IntensityToARN( daeNode, "Example ARN", arnNode )

 

 

See Also

IntensityAtSpecifiedDirections

Intensity

IntensityToFileDAE

 

 

 

 

 

Copyright © Photon Engineering, LLC