Navigation: Scripting Reference Manual > Functions & Subroutines > SetToroidalAsphereIthCoefs

 

SetToroidalAsphereIthCoefs

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets a specified A-B coefficient pair in a specified Toroidal Asphere surface.

 

Syntax

SetToroidalAsphereIthCoefs n, indx, Acoef, Bcoef

 

Parameters

n As Long

Node number for the toroidal asphere surface.

 

indx As Long

Zero-based index of the coefficient pair to modify.

 

Acoef As Double

The new A coefficient from the surface.

 

Bcoef As Double

The new B coefficient from the surface.

 

Remarks

This subroutine sets a specified A-B coefficient pair in a specified Toroidal Asphere surface. If there is a problem, the function posts an error and returns without modifying the surface.

 

See Also

AddToroidalAsphere

GetToroidalAsphere

SetToroidalAsphere

GetToroidalAsphereIthCoefs

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC