Navigation: Scripting Reference Manual > Functions & Subroutines > GetSourceDirGridHex

 

GetSourceDirGridHex

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the ray direction data from a source with a hexagonal grid points in angle space ray direction.

 

Syntax

success = GetSourceDirGridHex ( n, cellSemiAng, polarAngStart, polarAngEnd, azmuthAngStart, azmuthAngEnd )

 

Parameters

success (Boolean)

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

 

n As Long

Node number of the source.

 

cellSemiAng As Double

Returns the angular radius of the first ring, in degrees.

 

polarAngStart As Double

Returns the starting polar angle, a value in degrees between 0° and 179°, inclusive.

 

polarAngEnd As Double

Returns the stopping polar angle, a value in degrees between polarAngleStart and 180°, inclusive.

 

azmuthAngStart As Double

Returns the starting azimuth angle, a value in degrees between -180° and 179°, inclusive.

 

azmuthAngEnd As Double

Returns the stopping azimuth angle, a value in degrees between azmuthAngStart and azmuthAngStart+360°, exclusive.

 

Remarks

This function retrieves the ray direction data from a source with a hexagonal grid points in angle space ray direction.  If there is a problem the function returns False and does not set an error.

 

See Also

IsSourceDirGridHex

SetSourceDirGridHex

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC