Navigation: Scripting Reference Manual > Functions & Subroutines > SetMirrorCurv

 

SetMirrorCurv

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the curvature of a specific mirror in the associated FRED document.

 

Syntax

SetMirrorCurv n, curve

 

Parameters

n As Long

Node number of the mirror.

 

curve As Double

The new curvature for the mirror.

 

Remarks

This subroutine sets the curvature of a specific mirror in the associated FRED document.  The curvature is 1/rd where rd is the radius of curvature of the mirror surface. If there is a problem the subroutine sets an error and returns without modifying the mirror.

 

See Also

AddMirror

GetMirror

InitMirror

SetMirror

GetMirrorCurv

GetMirrorFocalLen

SetMirrorFocalLen

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC