Navigation: Scripting Reference Manual > Functions & Subroutines > GetPolynomialAsphere

 

GetPolynomialAsphere

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the data for a specified Polynomial Asphere surface from the associated FRED document.

 

Syntax

GetPolynomialAsphere 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

Returns the curvature of the Polynomial Asphere. (curv=1/radius)

 

conic As Double

Returns the conic constant of the Polynomial Asphere.

 

coefs() As Double

Array returning the aspheric coefficients of the Polynomial Asphere.

 

Remarks

This subroutine retrieves the data for a specified Polynomial Asphere surface from the associated FRED document.  If there is a problem, an error is posted and the function returns without modifying any parameters.

 

See AddPolynomialAsphere for a definition of the surface.

 

See Also

T_ENTITY 

AddPolynomialAsphere

GetPolynomialAsphereCoefCount

GetPolynomialAsphereCoefIJ

GetPolynomialAsphereIthCoef

SetPolynomialAsphere

SetPolynomialAsphereCoefIJ

SetPolynomialAsphereIthCoef

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC