Navigation: Scripting Reference Manual > Functions & Subroutines > GetDiffusePolynomial

 

GetDiffusePolynomial

 

Contact Us: fredsupport@photonengr.com

 

Description

Gets the values of a Diffuse Polynomial Scatter model.

 

Syntax

GetDiffusePolynomial id, data, coefs

 

Parameters

id As Long

Identifier of the scatter model.

 

data As T_DIFFUSEPOLYNOMIAL

Structure containing the basic data for the Diffuse Polynomial.

 

coefs() As Double

Array returning the coefficients of the polynomial summation (stored in the order in which they appear in the summation).

 

Remarks

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

 

See Also

T_DIFFUSEPOLYNOMIAL 

AddDiffusePolynomial

InitDiffusePolynomial

SetDiffusePolynomial

Examples

Scatter

 

 

 

 

 

Copyright © Photon Engineering, LLC