Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampGetAngleHole

 

ImpSampGetAngleHole

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the solid angle of a fractional hole from a particular importance sampling specification on a surface.

 

Syntax

fraction = ImpSampGetAngleHole ( n, indx )

 

Parameters

fraction (Double)

Returns the solid angle of a fractional hole from the importance sampling specification.

 

n As Long

Node number of the surface.

 

indx As Long

The index (zero based) of the importance sampling specification.

 

Remarks

This function retrieves the solid angle of a fractional hole from a particular importance sampling specification on a surface. If there is a problem the function does not set an error and returns 0.

 

See Also

ImpSampSetAngleHole

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC