VPArbitrarySourceProfile Constructor ( Double , Int32, Int32)Virtual Photonics - VTS Library
Virtual Photonics
Initializes a new instance of the ArbitrarySourceProfile class

Namespace: Vts.MonteCarlo.Sources.SourceProfiles
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public ArbitrarySourceProfile(
	double[] image,
	int pixelWidth,
	int pixelHeight
)

Parameters

image
Type:  OnlineSystem Double 
1D array containing 2D image of values
pixelWidth
Type: OnlineSystem Int32
pixel width
pixelHeight
Type: OnlineSystem Int32
pixel height
Remarks

Currently, only binary maps are implemented. Non-zero (1e-10D) values will be 1, 0 otherwise
See Also