Navigation: Scripting Reference Manual > Functions & Subroutines > PathEventIsDiffract

 

PathEventIsDiffract

 

Contact Us: fredsupport@photonengr.com

 

Description

Identifies if a path event is a diffraction event.

 

Syntax

isDiffract = PathEventIsDiffract ( path, event )

 

Parameters

isDiffract (Boolean)

Set to True if the event is a diffraction event, False otherwise.

 

path As Long

The identifier of the path.

 

event As Long

The identifier of the event.  Path events can be indexed forward or backwards.  For example, an event ID of 0 indicates the first event along the path, 1 indexes the second event, etc.  When using negative event indexing, -1 indicates the last event along the path, -2 is the second to last event, etc.

 

See Also

Path Commands

 

Examples

RayPath Functions

 

 

 

 

 

Copyright © Photon Engineering, LLC