Next: , Previous: , Up: Position Generators   [Contents][Index]


6.1.2 rect( name, width, height [, optargs] )

A rectangle with the given angular width and height dimensions. name is a string used for identification purposes. optargs is a lua table containing optional parameters.

The position of the source is given by these parameters:

theta

The distance from the optical axis to the center of the rectangle, in radians. If not specified, it defaults to ‘0’.

phi

The azimuth about the optical axis, in radians. If not specified, it defaults to ‘0’.

z

The Z coordinate of the source. This defaults to an infinitely distant source.

For instructions on specifying the source distribution, Intensity Distributions.