# PointToPointDistance

Computes the distance between two points.

Inputs

The PointToPointDistance 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:

PointToPointDistance(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.
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 distance between the two points.

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