Navigation: Scripting Reference Manual > Functions & Subroutines > GetPolynomialAsphereIthCoef

 

GetPolynomialAsphereIthCoef

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves a specific coefficient from a Polynomial Asphere surface.

 

Syntax

coef = GetPolynomialAsphereIthCoef ( n, indx )

 

Parameters

coef (Double)

The ith coefficient from the specified surface.

 

n As Long

Node number of the Polynomial Asphere surface.

 

indx As Long

Zero-based index of the coefficient.

 

Remarks

This function retrieves a specific coefficient from a Polynomial Aspheric surface.  If there is a problem, the function posts an error and returns a value of 0 or -1.

 

See Also

AddPolynomialAsphere

GetPolynomialAsphere

SetPolynomialAsphere

GetPolynomialAsphereCoefCount

GetPolynomialAsphereCoefIJ

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC