POINTARRAY function

Synopsis
This function returns an array of point objects created using arrays of X and Y-coordinates or of fixtures. The resulting point array is without a CoordinateSystem.
Remarks
Variations
POINTARRAY(SourceArrayX, SourceArrayY)
Returns an array of point objects from an array of X-coordinates and of Y-coordinates.
Parameters
SourceArrayX

Specifies the array of X-coordinates.

Supported types: Numeric array.
SourceArrayY

Specifies the array of Y-coordinates.

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

The following example returns an array of point objects with the coordinates ((10, 11), (20, 21), (30,31)).

POINTARRAY([10, 20, 30], [11, 21, 31])
POINTARRAY(SourceArrayFixtures)
Returns an array of point objects based on the origins of an array of fixtures.
Parameters
SourceArrayFixtures

Specifies the array of fixture objects. Note that the angle of the fixtures are ignored.

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

The following example returns an array of point objects that correspond to the origins of the fixtures created by the BlobAnalysis step.

POINTARRAY(SELECT(BlobAnalysis.BlobFound, Item.Fixture))