# PointToPointAngle

Computes the angle between two points.

Inputs

The PointToPointAngle function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. has the following syntax:

PointToPointAngle(X, Y, X, Y)

See the table for a description of the available parameters.

Parameter | Description
Point 0 | Specifies the coordinates of the first point, which are used as the origin.
X | The X coordinate of the first point.
Y | The Y coordinate of the first point.
Point 1 | Specifies the coordinates of the second point.
X | The X coordinate of the second point.
Y | The Y coordinate of the second point.

Outputs

Returns | A value containing the angle between the two points, relative to the image row axis.

Note: Unlike most other Measure functions in the 2D Geometry Functions category, PointToPointAngle does not insert a Dist data structure or result table into the spreadsheet.