Navigation: Scripting Reference Manual > Functions & Subroutines > TargetedRay

 

TargetedRay

 

Contact Us: fredsupport@photonengr.com

 

Description

Performs a targeted (iterated, Hamiltonian) raytrace through the system.

 

Syntax

valid = TargetedRay ( tr, x, y, z )

 

Parameters

valid (Boolean)

True if the targeted raytrace could be iterated to the specified coordinates, False otherwise.

 

tr As T_TARGETEDRAY

Structure containing the targeted ray information for the operation.

 

x As Double

If successful, will hold the x component of the direction vector for the ray.

 

y As Double

If successful, will hold the y component of the direction vector for the ray.

 

z As Double

If successful, will hold the z component of the direction vector for the ray.

 

Remarks

This function performs a targeted raytrace on the system. If there is a problem (unable to converge, raytrace errors, etc) the function sets an error and returns False.

 

See Also

T_TARGETEDRAY

InitTargetedRay

Trace Targeted Ray Dialog

Examples

Advanced Raytrace

 

 

 

 

 

Copyright © Photon Engineering, LLC