Navigation: Scripting Reference Manual > Functions & Subroutines > GetLensBending

 

GetLensBending

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the bending parameter for a specific singlet lens.

 

Syntax

bend = GetLensBending ( n )

 

Parameters

bend (Double)

The bending parameter from the singlet.

 

n As Long

Node number of the singlet.

 

Remarks

This function retrieves the bending parameter for a specific singlet lens.  The bending factor specifies the shape of a lens.  It can take on any value with common values being +1 (convex-plano, i.e. the back surf is flat), 0 (front and back surfs have equal and opposite, i.e. equi-convex), -1 (plano-convex, i.e. the front surface is flat).  Values outside the range of -1 to +1 are uncommon. If there is a problem the function sets an error and returns 0.

 

See Also

SetLensBending

GetLensFocalLen

SetLensFocalLen

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC