Navigation: Scripting Reference Manual > Functions & Subroutines > SetPolynomialAsphere

 

SetPolynomialAsphere

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the parameters of a specified Polynomial Asphere surface in the associated FRED document.

 

Syntax

SetPolynomialAsphere n, entity, curv, conic, coefs

 

Parameters

n As Long

Node number of the Polynomial Asphere surface.

 

entity As T_ENTITY

The generic entity data for the Polynomial Asphere.

 

curv As Double

The new curvature for the Polynomial Asphere. (cv=1/radius)

 

conic As Double

The new conic constant for the Polynomial Asphere.

 

coefs() As Double

The new aspheric coefficients for the Polynomial Asphere.

 

Remarks

This subroutine sets the parameters of a specified Polynomial Asphere in the associated FRED document.  If there is a problem, the subroutine posts an error and returns without modifying the Polynomial Asphere.

 

See Also

T_ENTITY

AddPolynomialAsphere

GetPolynomialAsphere

GetPolynomialAsphereCoefIJ

GetPolynomialAsphereIthCoef

SetPolynomialAsphereCoefIJ

SetPolynomialAsphereIthCoef

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC