Contents

distance(_:_:)

Calculates the distance between two points.

Declaration

class func distance(_ point1: VNPoint, _ point2: VNPoint) -> Double

Parameters

  • point1:

    The first point.

  • point2:

    The second point.

Return Value

The calculated distance.

See Also

Calculating Distance