Navigation: Scripting Reference Manual > Functions & Subroutines > SetXYToroidalAsphere

 

SetXYToroidalAsphere

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets a specified X-Y Toroidal Asphere surface in the associated FRED document.

 

Syntax

SetXYToroidalAsphere n, entity, asphere, coefs

 

Parameters

n As Long

Node number of the surface.

 

entity As T_ENTITY

The new generic entity data for the X-Y Toroidal Asphere.

 

asphere As T_TOROIDALASPHERE

Structure containing the new surface-specific data for the X-Y Toroidal Asphere.

 

coefs() As Double

The new aspheric coefficients for the surface.

 

Remarks

This subroutine sets a specified X-Y Toroidal Asphere surface from the associated FRED document.  If there is a problem, the subroutine posts an error and returns without modifying the surface.

 

See Also

T_ENTITY

T_TOROIDALASPHERE

AddXYToroidalAsphere

InitToroidalAsphere

GetXYToroidalAsphere

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC