Contents

distance(to:)

Returns the distance between two points.

Declaration

func distance(to other: Point3D) -> Double

Parameters

  • other:

    The point to calculate the distance to.

Return Value

The distance between two points.