POINT function

Synopsis
This function returns a point object created using an X and Y-coordinate or a fixture.
Variations
POINT(X, Y)
Returns a point object from an X and Y-coordinate.
Parameters
X

Specifies the X-coordinate of the point.

Supported types: Numeric.
Y

Specifies the Y-coordinate of the point.

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

The following example returns a point object with the coordinates (10, 10).

POINT(10, 10)
2.

The following example returns a point object with coordinates from the intersection of the 2 edges found by the EdgeLocator.

POINT(VerticalEdgeLocator.X, HorizontalEdgeLocator.Y)
POINT(Fixture)
Returns a point object based on the origin of a fixture.
Parameters
Fixture

Specifies the fixture object. Note that the angle of the fixture is ignored.

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

The following example returns a point object from a fixture generated in the BlobAnalysis step.

POINT(BlobAnalysis.BlobFound(1).Fixture)