lineSegmentIntersection¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/dot/blob/main/js/util/lineSegmentIntersection.ts for the most up-to-date information.
Overview¶
Computes the intersection of the two line segments \((x_1,y_1)(x_2,y_2)\) and \((x_3,y_3)(x_4,y_4)\). If there is no intersection, null is returned.
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for lineSegmentIntersection.ts in the dot repository.