| point2line index |
||||
| Name | lineIntersection ( ) | |||
| Description | Calculates the intersection of two continuous lines. The algorithm is explained here: http://local.wasp.uwa.edu.au/~pbourke/geometry/lineline2d/ |
|||
| Syntax | lineIntersection(p1, p2, p3, p4); |
|||
| Parameters |
|
|||
| Returns | null if there is no intersection, otherwise a vector containing the intersection coordinate (Vect2) |
|||
| Usage | Web & Application | |||
| Related | ||||
| Examples | |
|||