rapid-sdk
    Preparing search index...

    Function geomPathHasIntersections

    • Return true if paths intersect, false if not

      Parameters

      Returns boolean

      b0
      | \
      a0 ---*--*--- a1
      | \
      b1 -- b2
      const a = [[0, 0], [10, 0]];
      const b = [[5, 5], [5, -5], [10, -5], [5, 5]];
      geomPathHasIntersections(a, b); // returns true