Navigation: Scripting Reference Manual > Functions & Subroutines > SetDiffuseBinomial

 

SetDiffuseBinomial

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the values of a Diffuse Binomial Scatter model.

 

Syntax

SetDiffuseBinomial id, scat, coefs

 

Parameters

id As Long

Identifier of the scatter model.

 

scat As T_DIFFUSEBINOMIAL

Structure containing the new basic data for the Diffuse Binomial.

 

coefs() As Double

The coefficients of the binomial summation (stored in the order in which they appear in the summation).

 

Remarks

This subroutine sets the values of a Diffuse Binomial Scatter model.  If there is a problem, the subroutine sets an error and returns without modifying the scatter model.  See T_DIFFUSEBINOMIAL for the mathematical form of the scatter function.

 

See Also

T_DIFFUSEBINOMIAL 

AddDiffuseBinomial

InitDiffuseBinomial

GetDiffuseBinomial

Examples

Scatter

 

 

 

 

 

 

Copyright © Photon Engineering, LLC