Navigation: Scripting Reference Manual > Functions & Subroutines > InitLens

 

InitLens

 

Contact Us: fredsupport@photonengr.com

 

Description

Initializes a T_LENS structure with default values.

 

Syntax

InitLens lens

 

Parameters

lens as T_LENS

The T_LENS structure to be initialized.

 

Remarks

This subroutine initializes a T_LENS structure. Defaults are shown in the table below:

 

Data Type

Default

glassName

Standard Glass

immerseName

Air

glassCatalog

Current

immerseCatalog

Current

wavelength

0.5875618

thickness

0.1

semiApe

0.5

paramType

Curve

param1

0

param2

0

 

See Also

T_LENS

AddLens

GetLens

SetLens

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC