Navigation: Scripting Reference Manual > Data Structures > T_RAYCOHERENT

 

T_RAYCOHERENT

 

Contact Us: fredsupport@photonengr.com

 

Description

Data structure defining the coherence state for a ray.

 

Definition

Type T_RAYCOHERENT

curve1 As Double
curve2 As Double
width1 As Double
width2 As Double
dirX As Double
dirY As Double
dirZ As Double
secondaryRayScale As Double
secondaryRayCount As Long

End Type

 

Members

curve1

The curvature in direction of the vector specified by dirX, dirY, and dirZ.

 

curve2

The curvature in direction mutually perpendicular to the vector specified by dirX, dirY, and dirZ and the ray's direction vector.

 

width1

1/ep/2 half width in the direction specified by dirX, dirY and dirZ (waist ray distance from base ray).  In this direction, the beamlet's 1/e2 half width = width1*Sqr(4/p).

 

width2

1/ep/2 half width in the direction perpendicular to the vector specified by dirX, dirY, and dirZ (waist ray distance from base ray).  In this direction, the beamlet's 1/e2 half width = width2*Sqr(4/p).

 

dirX

The X component of the vector used to specify the curvatures.

 

dirY

The Y component of the vector used to specify the curvatures.

 

dirZ

The Z component of the vector used to specify the curvatures.

 

secondaryRayScale

Specifies the secondary ray scale factor.  It usually has the value of 1.

 

secondaryRayCount

Specifies the number of secondary rays.  It usually has the value of 8.

 

Used as Parameter in

SetRayCoherent

GetRayCoherent

Examples

Raydata GetSet

 

 

 

 

 

Copyright © Photon Engineering, LLC