math docs
    Preparing search index...

    Function distance

    • Returns the straight-line (chord) distance between two polar coordinates, via the law of cosines.

      Parameters

      Returns number

      the Euclidean distance between the two points