ixfx
    Preparing search index...

    Function intersectionDistance

    • Returns the distance at which a line from angleRadian hits line. Returns Infinity if there's no intersection.

      Calculations assume that all angles etc are in relation to a common origin point. If repeatedly comparing against the same line (or set of lines), use intersectionDistanceCompute for improved performance.

      Parameters

      Returns number