Navigation: Scripting Reference Manual > Functions & Subroutines > IsCoherent

 

IsCoherent

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the coherency state for a specific ray in the ray buffer.  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

coh = IsCoherent ( id )

 

Parameters

coh (Boolean)

Will be set to True if the ray is coherent, False if it is not.

 

id As Long (or Huge_)

Identifier for the ray.

 

Remarks

This function retrieves the coherency state for a specific ray in the ray buffer.  If there is a problem, the function posts an error and returns False.

 

See Also

IsPolarized

IsRayActive

GetRayParent

GetRaySource

Examples

Raydata GetSet

 

 

 

 

 

 

Copyright © Photon Engineering, LLC