FIXTUREARRAY function

Synopsis
This function returns an array of fixture objects created using arrays of X- and Y-coordinates (or of point objects) and an array of angles.
Variations
FIXTUREARRAY(SourceArrayX, SourceArrayY, SourceArrayAngle)
Returns an array of fixture objects from an array of X-coordinates, of Y-coordinates, and of angles.
Parameters
SourceArrayX

Specifies the array of X-coordinates.

Supported types: Numeric array.
SourceArrayY

Specifies the array of Y-coordinates.

Supported types: Numeric array.
SourceArrayAngle

Specifies the array of angles, in degrees.

Supported types: Numeric array.
Returns
Returned types: Fixture array.
Examples
1.

The following example returns an array of fixture objects with the coordinates ((10, 11), (20, 21), (30,31)), each with an angle of 45º.

FIXTUREARRAY([10, 20, 30], [11, 21, 31], [45, 45, 45])
FIXTUREARRAY(SourceArrayPoint, SourceArrayAngle)
Returns an array of fixture objects from an array of point objects and of angles.
Parameters
SourceArrayPoint

Specifies the array of point objects.

Supported types: Point array.
SourceArrayAngle

Specifies the array of angles, in degrees.

Supported types: Numeric array.
Returns
Returned types: Fixture array.
Examples
1.

The following example returns an array of fixture objects with the coordinates ((10, 11), (20, 21), (30,31)), each with an angle of 45º. Note that the array of point objects is supplied by placing a POINTARRAY function inside the FIXTUREARRAY function

FIXTUREARRAY(POINTARRAY([10, 20, 30], [11, 21, 31]), [45, 45, 45])
2.

The following example returns an array of fixture objects, each with an angle of 90º, and with coordinates corresponding to the X- and Y-positions of the blobs found by the BlobAnalysis step.

FIXTUREARRAY(BlobAnalysis.Positions, [90])