rapid-sdk
    Preparing search index...

    Function geomPathLength

    • Return the length of the given path

      Parameters

      Returns number

      length

      p2
      /
      p0 -- p1
      const path = [[0, 0], [1, 0], [5, 3]];
      geomPathLength(path); // returns 6