Navigation: Scripting Reference Manual > Functions & Subroutines > GetMirrorCurv

 

GetMirrorCurv

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the curvature of a specific mirror from the associated FRED document.

 

Syntax

cv = GetMirrorCurv ( n )

 

Parameters

cv (Double)

Returns the curvature of the mirror.

 

n As Long

Node number of the mirror.

 

Remarks

This function retrieves the curvature of a specific mirror from the associated FRED document. If there is a problem the function sets an error and returns 0.

 

See Also

AddMirror

GetMirror

SetMirror

SetMirrorCurv

GetMirrorFocalLen

SetMirrorFocalLen

InitMirror

Examples

Elements

 

 

 

 

 

Copyright © Photon Engineering, LLC