Parameter | Description |
---|---|
line1Pt1 | The first point of the first line |
line1Pt2 | The second point of the first line |
line2Pt1 | The first point of the second line |
line2Pt2 | The second point of the second line |
Vector2 The intersection point, or (float.PositiveInfinity, float.PositiveInfinity) if the lines are parallel
Finds the intersection between two line segments