Navigation: Scripting Reference Manual > Functions & Subroutines > SetIthAxialRadialGRINMaterial

 

SetIthAxialRadialGRINMaterial

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the wavelength and coefficients for the ith table entry in an existing AxialRadial GRIN material.

 

Syntax

SetIthAxialRadialGRINMaterial id, nWavelenNum, wave, AxialCoeffs, RadialCoeffs

 

Parameters

id As Long

Identifier of the Spherical GRIN material.

 

nWavelenNum As Long

The index in the wavelength table of the entry to be set.

 

wave As Double

Wavelength corresponding to the given table index.

 

AxialCoeffs() As Double

Array containing axial coefficients at wave corresponding to the given table index.

 

RadialCoeffs() As Double

Array containing radial coefficients at wave corresponding to the given table index.

 

 

Remarks

SetIthAxialRadialGRINMaterial sets the wavelength and coefficients for the ith table entry in an existing AxialRadial GRIN material. If there is a problem, an error is generated and the material is not altered.

 

See Also

AddAxialRadialGRINMaterial

AppendAxialRadialGRINMaterial

GetIthAxialRadialGRINMaterial

RemoveIthAxialRadialGRINMaterial

Examples

Materials

 

 

 

 

 

Copyright © Photon Engineering, LLC