Navigation: Scripting Reference Manual > Functions & Subroutines > SetPolynomialAsphereIthCoef

 

SetPolynomialAsphereIthCoef

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets a specific aspheric coefficient in a Polynomial Asphere surface.

 

Syntax

SetPolynomialAsphereIthCoef n, indx, coef

 

Parameters

n As Long

Node number for the Polynomial Asphere surface.

 

indx As Long

Zero-based index of the coefficient.

 

coef As Double

The new value for the coefficient for the Polynomial Asphere.

 

Remarks

This subroutine sets a specific coefficient in a Polynomial Asphere surface.  If there is a problem, the subroutine posts an error and returns without modifying the surface.

 

See Also

T_ENTITY 

AddPolynomialAsphere

GetPolynomialAsphere

GetPolynomialAsphereCoefCount

GetPolynomialAsphereCoefIJ

GetPolynomialAsphereIthCoef

SetPolynomialAsphere

SetPolynomialAsphereCoefIJ

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC