Navigation: Scripting Reference Manual > Data Structures > T_SOURCEUSERRAY

 

T_SOURCEUSERRAY

 

Contact Us: fredsupport@photonengr.com

 

Description

Data structure for a user-defined geometric ray.

 

Definition

Type T_SOURCEUSERRAY

Xpos As Double
Ypos As Double
Zpos As Double
Xdir As Double
Ydir As Double
Zdir As Double
power As Double
pathLen As Double

End Type

 

Members

Xpos

The x component of the position of the user defined ray.

 

Ypos

The y component of the position of the user defined ray.

 

Zpos

The z component of the position of the user defined ray.

 

Xdir

The x component of the direction vector for the user defined ray.

 

Ydir

The y component of the direction vector for the user defined ray.

 

Zdir

The z component of the direction vector for the user defined ray.

 

power

The power associated with the ray.

 

pathLen

The optical path length of the ray.

 

 

Used as Parameter in

AddSourceUserRays

AddSourceUserRay

SetSourceIthUserRay

GetSourceIthUserRay

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC